mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-20 13:45:34 -05:00
fix(46998): Hover on as const shows type const = /*unresolved*/ any (#47000)
This commit is contained in:
8
tests/cases/fourslash/quickInfoForConstAssertions.ts
Normal file
8
tests/cases/fourslash/quickInfoForConstAssertions.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
////const a = { a: 1 } as /*1*/const;
|
||||
////const b = 1 as /*2*/const;
|
||||
////const c = "c" as /*3*/const;
|
||||
////const d = [1, 2] as /*4*/const;
|
||||
|
||||
verify.baselineQuickInfo();
|
||||
Reference in New Issue
Block a user