Skip to content

Commit 13af00f

Browse files
Added 'module' option to tests.
1 parent b5e59ca commit 13af00f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/cases/conformance/types/stringLiteral/stringLiteralTypesImportedDeclarations01.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @declaration: true
22
// @noImplicitAny: true
3-
3+
// @module: commonjs
44

55
// @filename: file1.ts
66
export type A = "A";
@@ -10,7 +10,7 @@ export const a = "A";
1010
export const b = "B";
1111

1212
// @filename: file2.ts
13-
import * as file1 from "file1";
13+
import * as file1 from "./file1";
1414

1515
const a: file1.A = file1.a;
1616
const b: file1.B = file1.b;

tests/cases/conformance/types/stringLiteral/stringLiteralTypesImportedDeclarations02.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// @declaration: true
22
// @noImplicitAny: true
3-
3+
// @module: commonjs
44

55
// @filename: file1.ts
66
export const a = "A";
77
export const b = "B";
88

99
// @filename: file2.ts
10-
import * as file1 from "file1";
10+
import * as file1 from "./file1";
1111

1212
const a: "A" = file1.a;
1313
const b: "B" = file1.b;

0 commit comments

Comments
 (0)