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