File: quickInfoForTypeParameterInTypeAlias1.ts

package info (click to toggle)
node-typescript 4.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 396,552 kB
  • sloc: javascript: 1,444,377; makefile: 7; sh: 3
file content (15 lines) | stat: -rw-r--r-- 639 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
///<reference path="fourslash.ts" />

//// type Ctor<AA> = new () => A/*1*/A;
//// type MixinCtor<AA> = new () => AA & { constructor: MixinCtor<A/*2*/A> };
//// type NestedCtor<AA> = new() => AA & (new () => AA & { constructor: NestedCtor<A/*3*/A> });
//// type Method<AA> = { method(): A/*4*/A };
//// type Construct<AA> = { new(): A/*5*/A };

verify.quickInfos({
    1: "(type parameter) AA in type Ctor<AA>",
    2: "(type parameter) AA in type MixinCtor<AA>",
    3: "(type parameter) AA in type NestedCtor<AA>",
    4: "(type parameter) AA in type Method<AA>",
    5: "(type parameter) AA in type Construct<AA>"
});