TypeScript/tests/cases/fourslash/tsxRename3.ts

20 lines
433 B
TypeScript
Raw Normal View History

2015-06-18 23:02:47 +02:00
/// <reference path='fourslash.ts' />
//@Filename: file.tsx
//// declare module JSX {
//// interface Element { }
//// interface IntrinsicElements {
//// }
//// interface ElementAttributesProperty { props }
//// }
//// class MyClass {
//// props: {
//// [|name|]?: string;
//// size?: number;
//// }
////
////
//// var x = <MyClass [|name|]='hello'/>;
2015-06-18 23:02:47 +02:00
verify.rangesAreRenameLocations();