12 lines
350 B
TypeScript
12 lines
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");
|