deno/tests/specs/check/ts_in_npm_pkg/main.ts
David Sherret 7528c7909c
fix(check): better handling of TypeScript in npm packages for type checking (#27853)
1. Allows resolving to `.ts` files for type checking.
2. Probes for `.ts` files to use for type checking.

To emphasize, this is only for type checking.
2025-01-28 20:32:37 +00:00

3 lines
61 B
TypeScript

import type { Test } from "package";
const test: Test = "";