2016-11-08 20:07:17 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
//@Filename: file.tsx
|
|
|
|
//// declare module JSX {
|
|
|
|
//// interface Element { }
|
|
|
|
//// interface IntrinsicElements {
|
|
|
|
//// div: {
|
2019-06-13 21:25:02 +02:00
|
|
|
//// [|[|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 0 |}name|]?: string;|]
|
2016-11-08 20:07:17 +01:00
|
|
|
//// isOpen?: boolean;
|
|
|
|
//// };
|
|
|
|
//// span: { n: string; };
|
|
|
|
//// }
|
|
|
|
//// }
|
2019-06-13 21:25:02 +02:00
|
|
|
//// var x = <div [|[|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 2 |}name|]="hello"|] />;
|
2016-11-08 20:07:17 +01:00
|
|
|
|
2019-06-05 23:10:51 +02:00
|
|
|
verify.singleReferenceGroup("(property) name?: string", "name");
|