22 lines
533 B
TypeScript
22 lines
533 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
//@Filename: file.tsx
|
|
//// declare module JSX {
|
|
//// interface Element { }
|
|
//// interface IntrinsicElements {
|
|
//// /*dt*/div: {
|
|
//// /*pt*/name?: string;
|
|
//// isOpen?: boolean;
|
|
//// };
|
|
//// /*st*/span: { n: string; };
|
|
//// }
|
|
//// }
|
|
//// var x = <[|di/*ds*/v|] />;
|
|
//// var y = <[|s/*ss*/pan|] />;
|
|
//// var z = <div [|na/*ps*/me|]='hello' />;
|
|
|
|
verify.goToDefinition({
|
|
ds: "dt",
|
|
ss: "st",
|
|
ps: "pt"
|
|
});
|