File: staticPrototypePropertyOnClass.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 (27 lines) | stat: -rw-r--r-- 578 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/// <reference path='fourslash.ts'/>

////class c1 {
////}
////class c2<T> {
////}
////class c3 {
////    constructor() {
////    }
////}
////class c4 {
////    constructor(param: string);
////    constructor(param: number);
////    constructor(param: any) {
////    }
////}
////c1./*1*/prototype;
////c2./*2*/prototype;
////c3./*3*/prototype;
////c4./*4*/prototype;

verify.quickInfos({
    1: "(property) c1.prototype: c1",
    2: "(property) c2<T>.prototype: c2<any>",
    3: "(property) c3.prototype: c3",
    4: "(property) c4.prototype: c4"
});