Skip to content

Commit 0261193

Browse files
Update Baselines and/or Applied Lint Fixes
1 parent 23ad40e commit 0261193

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/baselines/reference/enums.errors.txt

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/b.ts(3,1): error TS1361: 'SyntaxKind' cannot be used as a value because it was imported using 'import type'.
2-
/b.ts(4,1): error TS1361: 'SymbolFlags' cannot be used as a value because it was imported using 'import type'.
32

43

54
==== /a.ts (0 errors) ====
@@ -16,17 +15,14 @@
1615
export type { SyntaxKind };
1716
export { SymbolFlags };
1817

19-
==== /b.ts (2 errors) ====
18+
==== /b.ts (1 errors) ====
2019
import type { SyntaxKind, SymbolFlags } from './a';
2120

2221
SyntaxKind.ImportClause;
2322
~~~~~~~~~~
2423
!!! error TS1361: 'SyntaxKind' cannot be used as a value because it was imported using 'import type'.
2524
!!! related TS1376 /b.ts:1:15: 'SyntaxKind' was imported here.
2625
SymbolFlags.Type;
27-
~~~~~~~~~~~
28-
!!! error TS1361: 'SymbolFlags' cannot be used as a value because it was imported using 'import type'.
29-
!!! related TS1376 /b.ts:1:27: 'SymbolFlags' was imported here.
3026
let kind: SyntaxKind.ImportClause;
3127
let flags: SymbolFlags;
3228

0 commit comments

Comments
 (0)