Skip to content

Commit

Permalink
workaround for noresolve issue microsoft#10678
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanaz committed May 25, 2017
1 parent 1064a26 commit 9b9a688
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/cases/compiler/declarationEmitInvalidReference.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// @declaration: true
// @noresolve: true
// @lib: es3
/// <reference path="invalid.ts" />
var x = 0;
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// @noresolve: true
// @lib: es3
import b = require("externalModule");
declare module "m1" {
import im2 = require("externalModule");
Expand Down
1 change: 1 addition & 0 deletions tests/cases/compiler/moduleResolutionNoResolve.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// @module:commonjs
// @noResolve: true
// @lib: es3

// @filename: a.ts
import a = require('./b');
Expand Down

0 comments on commit 9b9a688

Please sign in to comment.