1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 01:58:05 -05:00
denoland-deno/cli/tests/testdata/npm/file_dts_dmts_dcts/main.ts
David Sherret 279030f2b8
fix(npm): improve declaration resolution for filename with different extensions (#19966)
postcss was importing `./index.js` from `./index.d.mts` where there also
existed a `./index.d.ts`.

Closes #19575
2023-07-28 11:24:22 -04:00

9 lines
372 B
TypeScript

import { Value as Dts1 } from "npm:@denotest/file-dts-dmts-dcts/js";
import { Value as Mts1 } from "npm:@denotest/file-dts-dmts-dcts";
import { Value as Mts2 } from "npm:@denotest/file-dts-dmts-dcts/mjs";
import { Value as Cts1 } from "npm:@denotest/file-dts-dmts-dcts/cjs";
const value1: Dts1 = 5;
const value2: Mts1 = 5;
const value3: Mts2 = 5;
const value4: Cts1 = 5;