19 lines
503 B
TypeScript
19 lines
503 B
TypeScript
/// <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 [|{| "contextRangeIndex": 0 |}nn|]: string;|]
|
|
//// var x = <MyClass name={[|nn|]}></MyClass>;
|
|
|
|
verify.rangesWithSameTextAreRenameLocations("nn");
|