20 lines
458 B
TypeScript
20 lines
458 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 x = <MyClass [|n/**/ame|]='hello'/>;
|
|
|
|
goTo.marker();
|
|
verify.renameLocations(false, false);
|