mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
371 B
Plaintext
12 lines
371 B
Plaintext
b.ts(1,20): error TS2307: Cannot find module 'a' or its corresponding type declarations.
|
|
|
|
|
|
==== a.d.ts (0 errors) ====
|
|
declare var a: number;
|
|
export = a; // OK, in ambient context
|
|
|
|
==== b.ts (1 errors) ====
|
|
import * as a from "a";
|
|
~~~
|
|
!!! error TS2307: Cannot find module 'a' or its corresponding type declarations.
|
|
|