1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/tests/testdata/npm/file_dts_dmts_dcts/main.out
David Sherret 998036b399
chore: fix flaky net_listen_allow_localhost_4555 (#23726)
Moves the test npm registry server port from `4558` to `426x`
2024-05-07 17:21:56 +00:00

24 lines
682 B
Text

Download http://localhost:4260/@denotest/file-dts-dmts-dcts
Download http://localhost:4260/@denotest/file-dts-dmts-dcts/1.0.0.tgz
Check file:///[WILDCARD]/main.ts
error: TS2322 [ERROR]: Type '5' is not assignable to type '"dts"'.
const value1: Dts1 = 5;
~~~~~~
at file:///[WILDCARD]
TS2322 [ERROR]: Type '5' is not assignable to type '"mts"'.
const value2: Mts1 = 5;
~~~~~~
at file:///[WILDCARD]
TS2322 [ERROR]: Type '5' is not assignable to type '"mts"'.
const value3: Mts2 = 5;
~~~~~~
at file:///[WILDCARD]
TS2322 [ERROR]: Type '5' is not assignable to type '"cts"'.
const value4: Cts1 = 5;
~~~~~~
at file:///[WILDCARD]
Found 4 errors.