File: referencesForInheritedProperties9.ts

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (16 lines) | stat: -rw-r--r-- 443 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// <reference path='fourslash.ts'/>

//// class D extends C {
////     [|{| "isDefinition": true |}prop1|]: string;
//// }
////
//// class C extends D {
////     [|{| "isDefinition": true |}prop1|]: string;
//// }
////
//// var c: C;
//// c.[|prop1|];

const [r0, r1, r2] = test.ranges();
verify.singleReferenceGroup("(property) D.prop1: string", [r0]);
verify.singleReferenceGroup("(property) C.prop1: string", [r1, r2]);