2014-12-04 05:41:39 +01:00
|
|
|
tests/cases/compiler/declareModifierOnImport1.ts(1,1): error TS1079: A 'declare' modifier cannot be used with an import declaration.
|
2015-03-02 21:21:53 +01:00
|
|
|
tests/cases/compiler/declareModifierOnImport1.ts(1,20): error TS2304: Cannot find name 'b'.
|
2014-12-04 05:41:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
==== tests/cases/compiler/declareModifierOnImport1.ts (2 errors) ====
|
|
|
|
declare import a = b;
|
|
|
|
~~~~~~~
|
|
|
|
!!! error TS1079: A 'declare' modifier cannot be used with an import declaration.
|
2015-03-02 21:21:53 +01:00
|
|
|
~
|
2014-12-04 05:41:39 +01:00
|
|
|
!!! error TS2304: Cannot find name 'b'.
|