diff --git a/tests/cases/compiler/declarationEmitInvalidReference.ts b/tests/cases/compiler/declarationEmitInvalidReference.ts index 9635f6959652c..b2d12114f750f 100644 --- a/tests/cases/compiler/declarationEmitInvalidReference.ts +++ b/tests/cases/compiler/declarationEmitInvalidReference.ts @@ -1,4 +1,5 @@ // @declaration: true // @noresolve: true +// @lib: es3 /// var x = 0; \ No newline at end of file diff --git a/tests/cases/compiler/importDeclRefereingExternalModuleWithNoResolve.ts b/tests/cases/compiler/importDeclRefereingExternalModuleWithNoResolve.ts index c2edfb63505c0..f2ad266cbb818 100644 --- a/tests/cases/compiler/importDeclRefereingExternalModuleWithNoResolve.ts +++ b/tests/cases/compiler/importDeclRefereingExternalModuleWithNoResolve.ts @@ -1,4 +1,5 @@ // @noresolve: true +// @lib: es3 import b = require("externalModule"); declare module "m1" { import im2 = require("externalModule"); diff --git a/tests/cases/compiler/moduleResolutionNoResolve.ts b/tests/cases/compiler/moduleResolutionNoResolve.ts index aea0208b5d68a..c6e3099ba1031 100644 --- a/tests/cases/compiler/moduleResolutionNoResolve.ts +++ b/tests/cases/compiler/moduleResolutionNoResolve.ts @@ -1,5 +1,6 @@ // @module:commonjs // @noResolve: true +// @lib: es3 // @filename: a.ts import a = require('./b');