2015-06-18 23:02:47 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
//@Filename: file.tsx
|
|
|
|
//// declare module JSX {
|
|
|
|
//// interface Element { }
|
|
|
|
//// interface IntrinsicElements { }
|
|
|
|
//// interface ElementAttributesProperty { props; }
|
|
|
|
//// }
|
2017-01-09 18:40:03 +01:00
|
|
|
//// class /*ct*/MyClass {
|
2015-06-18 23:02:47 +02:00
|
|
|
//// props: {
|
|
|
|
//// /*pt*/foo: string;
|
|
|
|
//// }
|
|
|
|
//// }
|
2017-10-19 00:49:46 +02:00
|
|
|
//// var x = <[|My/*c*/Class|] />;
|
|
|
|
//// var y = <MyClass [|f/*p*/oo|]= 'hello' />;
|
|
|
|
//// var z = <[|MyCl/*w*/ass|] wrong= 'hello' />;
|
2015-06-18 23:02:47 +02:00
|
|
|
|
2016-09-02 21:47:26 +02:00
|
|
|
verify.goToDefinition({
|
|
|
|
c: "ct",
|
2016-11-08 20:07:17 +01:00
|
|
|
p: "pt",
|
|
|
|
w: "ct"
|
2016-09-02 21:47:26 +02:00
|
|
|
});
|