10 lines
490 B
Plaintext
10 lines
490 B
Plaintext
|
tests/cases/compiler/declareModifierOnImport1.ts(1,1): error TS1079: A 'declare' modifier cannot be used with an import declaration.
|
||
|
tests/cases/compiler/declareModifierOnImport1.ts(1,1): error TS2304: Cannot find name 'b'.
|
||
|
|
||
|
|
||
|
==== tests/cases/compiler/declareModifierOnImport1.ts (2 errors) ====
|
||
|
declare import a = b;
|
||
|
~~~~~~~
|
||
|
!!! error TS1079: A 'declare' modifier cannot be used with an import declaration.
|
||
|
~~~~~~~~~~~~~~~~~~~~~
|
||
|
!!! error TS2304: Cannot find name 'b'.
|