TypeScript/tests/cases/fourslash/tsxFindAllReferences2.ts

16 lines
406 B
TypeScript
Raw Normal View History

2016-11-08 20:07:17 +01:00
/// <reference path='fourslash.ts' />
//@Filename: file.tsx
//// declare module JSX {
//// interface Element { }
//// interface IntrinsicElements {
//// div: {
//// [|name|]?: string;
//// isOpen?: boolean;
//// };
//// span: { n: string; };
//// }
//// }
//// var x = <div [|name|]="hello" />;
verify.rangesReferenceEachOther();