737fda928c
...even if they're in ambient contexts. Same for type aliases.
12 lines
No EOL
350 B
TypeScript
12 lines
No EOL
350 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
// Should go to object literals within cast expressions when invoked on interface
|
|
|
|
// @Filename: def.d.ts
|
|
//// export interface Interface { P: number }
|
|
|
|
// @Filename: ref.ts
|
|
//// import { Interface } from "./def";
|
|
//// const c: I/*ref*/nterface = [|{ P: 2 }|];
|
|
|
|
verify.allRangesAppearInImplementationList("ref"); |