Skip to content

Commit c6518c7

Browse files
committed
workaround an error with reference inclusion
1 parent 3b25859 commit c6518c7

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// @declaration: true
22
// @noresolve: true
3+
// @lib: es3
34
/// <reference path="invalid.ts" />
45
var x = 0;

tests/cases/compiler/metadataOfEventAlias.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @experimentalDecorators: true
22
// @emitDecoratorMetadata: true
33
// @target: es5
4-
// @includeBuiltFile: lib.d.ts
4+
// @includeBuiltFile: lib.es3.full.d.ts
55

66
// @filename: event.ts
77
export interface Event { title: string };

tests/cases/compiler/moduleResolutionNoResolve.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// @module:commonjs
22
// @noResolve: true
3+
// @lib: es3
34

45
// @filename: a.ts
56
import a = require('./b');

0 commit comments

Comments
 (0)