Skip to content

Commit

Permalink
Update Baselines and/or Applied Lint Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
typescript-bot committed Oct 27, 2021
1 parent 23ad40e commit 0261193
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/baselines/reference/enums.errors.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/b.ts(3,1): error TS1361: 'SyntaxKind' cannot be used as a value because it was imported using 'import type'.
/b.ts(4,1): error TS1361: 'SymbolFlags' cannot be used as a value because it was imported using 'import type'.


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

==== /b.ts (2 errors) ====
==== /b.ts (1 errors) ====
import type { SyntaxKind, SymbolFlags } from './a';

SyntaxKind.ImportClause;
~~~~~~~~~~
!!! error TS1361: 'SyntaxKind' cannot be used as a value because it was imported using 'import type'.
!!! related TS1376 /b.ts:1:15: 'SyntaxKind' was imported here.
SymbolFlags.Type;
~~~~~~~~~~~
!!! error TS1361: 'SymbolFlags' cannot be used as a value because it was imported using 'import type'.
!!! related TS1376 /b.ts:1:27: 'SymbolFlags' was imported here.
let kind: SyntaxKind.ImportClause;
let flags: SymbolFlags;

Expand Down

0 comments on commit 0261193

Please sign in to comment.