Skip to content

Commit bfd6ca0

Browse files
committed
baseline-accept
1 parent 2653a8d commit bfd6ca0

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
error TS5055: Cannot write file 'tests/cases/compiler/a.js' because it would overwrite input file.
2-
tests/cases/compiler/a.js(1,10): error TS8016: 'type assertion expressions' can only be used in a .ts file.
2+
tests/cases/compiler/a.js(1,10): error TS17008: JSX element 'string' has no corresponding closing tag.
3+
tests/cases/compiler/a.js(1,27): error TS1005: '</' expected.
34

45

56
!!! error TS5055: Cannot write file 'tests/cases/compiler/a.js' because it would overwrite input file.
6-
==== tests/cases/compiler/a.js (1 errors) ====
7+
==== tests/cases/compiler/a.js (2 errors) ====
78
var v = <string>undefined;
89
~~~~~~
9-
!!! error TS8016: 'type assertion expressions' can only be used in a .ts file.
10+
!!! error TS17008: JSX element 'string' has no corresponding closing tag.
11+
12+
!!! error TS1005: '</' expected.

tests/cases/fourslash/getJavaScriptSemanticDiagnostics20.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)