File tree 1 file changed +1
-5
lines changed
tests/baselines/reference
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 1
1
/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'.
3
2
4
3
5
4
==== /a.ts (0 errors) ====
16
15
export type { SyntaxKind };
17
16
export { SymbolFlags };
18
17
19
- ==== /b.ts (2 errors) ====
18
+ ==== /b.ts (1 errors) ====
20
19
import type { SyntaxKind, SymbolFlags } from './a';
21
20
22
21
SyntaxKind.ImportClause;
23
22
~~~~~~~~~~
24
23
!!! error TS1361: 'SyntaxKind' cannot be used as a value because it was imported using 'import type'.
25
24
!!! related TS1376 /b.ts:1:15: 'SyntaxKind' was imported here.
26
25
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.
30
26
let kind: SyntaxKind.ImportClause;
31
27
let flags: SymbolFlags;
32
28
You can’t perform that action at this time.
0 commit comments