diff options
Diffstat (limited to 'cli/tests/testdata')
| -rw-r--r-- | cli/tests/testdata/no_check_remote.ts | 3 | ||||
| -rw-r--r-- | cli/tests/testdata/no_check_remote.ts.disabled.out | 4 | ||||
| -rw-r--r-- | cli/tests/testdata/no_check_remote.ts.enabled.out | 1 | ||||
| -rw-r--r-- | cli/tests/testdata/subdir/type_error.ts | 1 |
4 files changed, 9 insertions, 0 deletions
diff --git a/cli/tests/testdata/no_check_remote.ts b/cli/tests/testdata/no_check_remote.ts new file mode 100644 index 000000000..2ae8c2692 --- /dev/null +++ b/cli/tests/testdata/no_check_remote.ts @@ -0,0 +1,3 @@ +import * as a from "http://localhost:4545/subdir/type_error.ts"; + +console.log(a.a); diff --git a/cli/tests/testdata/no_check_remote.ts.disabled.out b/cli/tests/testdata/no_check_remote.ts.disabled.out new file mode 100644 index 000000000..344264634 --- /dev/null +++ b/cli/tests/testdata/no_check_remote.ts.disabled.out @@ -0,0 +1,4 @@ +error: TS2322 [ERROR]: Type '12' is not assignable to type '"a"'. +export const a: "a" = 12; + ^ + at http://localhost:4545/subdir/type_error.ts:1:14 diff --git a/cli/tests/testdata/no_check_remote.ts.enabled.out b/cli/tests/testdata/no_check_remote.ts.enabled.out new file mode 100644 index 000000000..48082f72f --- /dev/null +++ b/cli/tests/testdata/no_check_remote.ts.enabled.out @@ -0,0 +1 @@ +12 diff --git a/cli/tests/testdata/subdir/type_error.ts b/cli/tests/testdata/subdir/type_error.ts new file mode 100644 index 000000000..cc3c1d29d --- /dev/null +++ b/cli/tests/testdata/subdir/type_error.ts @@ -0,0 +1 @@ +export const a: "a" = 12; |
