26 lines
No EOL
491 B
TypeScript
26 lines
No EOL
491 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
//@Filename: file.tsx
|
|
// @jsx: preserve
|
|
// @noLib: true
|
|
|
|
//// class RC1 extends React.Component<{}, {}> {
|
|
//// render() {
|
|
//// return null;
|
|
//// }
|
|
//// }
|
|
|
|
//// class RC2 extends React.Component<{}, {}> {
|
|
//// render() {
|
|
//// return null;
|
|
//// }
|
|
//// private method() { }
|
|
//// }
|
|
|
|
//// var /*pt1*/RCComp = RC1 || RC2;
|
|
|
|
//// <[|RC/*one*/Comp|] />
|
|
|
|
verify.goToDefinition({
|
|
"one": "pt1"
|
|
}) |