Skip to content

Commit fbb9d5b

Browse files
Accepted baselines.
1 parent 7bbaef6 commit fbb9d5b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/baselines/reference/umd5.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/conformance/externalModules/a.ts(6,9): error TS2686: Identifier 'Foo' must be imported from a module
1+
tests/cases/conformance/externalModules/a.ts(6,9): error TS2686: 'Foo' refers to a UMD global, but the current file is a module. Consider adding an import instead.
22

33

44
==== tests/cases/conformance/externalModules/a.ts (1 errors) ====
@@ -9,7 +9,7 @@ tests/cases/conformance/externalModules/a.ts(6,9): error TS2686: Identifier 'Foo
99
// should error
1010
let z = Foo;
1111
~~~
12-
!!! error TS2686: Identifier 'Foo' must be imported from a module
12+
!!! error TS2686: 'Foo' refers to a UMD global, but the current file is a module. Consider adding an import instead.
1313

1414
==== tests/cases/conformance/externalModules/foo.d.ts (0 errors) ====
1515

tests/baselines/reference/umd8.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/conformance/externalModules/a.ts(7,14): error TS2686: Identifier 'Foo' must be imported from a module
1+
tests/cases/conformance/externalModules/a.ts(7,14): error TS2686: 'Foo' refers to a UMD global, but the current file is a module. Consider adding an import instead.
22

33

44
==== tests/cases/conformance/externalModules/a.ts (1 errors) ====
@@ -10,7 +10,7 @@ tests/cases/conformance/externalModules/a.ts(7,14): error TS2686: Identifier 'Fo
1010
let z: Foo.SubThing; // OK in ns position
1111
let x: any = Foo; // Not OK in value position
1212
~~~
13-
!!! error TS2686: Identifier 'Foo' must be imported from a module
13+
!!! error TS2686: 'Foo' refers to a UMD global, but the current file is a module. Consider adding an import instead.
1414

1515
==== tests/cases/conformance/externalModules/foo.d.ts (0 errors) ====
1616

0 commit comments

Comments
 (0)