File: jsFunctionWithPrototypeNoErrorTruncationNoCrash.types

package info (click to toggle)
node-typescript 5.0.4%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 459,116 kB
  • sloc: javascript: 1,972,754; makefile: 6; sh: 1
file content (81 lines) | stat: -rw-r--r-- 3,876 bytes parent folder | download | duplicates (4)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
=== tests/cases/compiler/index.js ===
function Color(obj) {
>Color : typeof Color
>obj : any

    this.example = true
>this.example = true : true
>this.example : any
>this : this
>example : any
>true : true

};
Color.prototype = {
>Color.prototype = {	negate: function () {return this;},	lighten: function (ratio) {return this;},	darken: function (ratio) {return this;},	saturate: function (ratio) {return this;},	desaturate: function (ratio) {return this;},	whiten: function (ratio) {return this;},	blacken: function (ratio) {return this;},	greyscale: function () {return this;},	clearer: function (ratio) {return this;},	toJSON: function () {return this.rgb();},} : { negate: () => this; lighten: (ratio: any) => this; darken: (ratio: any) => this; saturate: (ratio: any) => this; desaturate: (ratio: any) => this; whiten: (ratio: any) => this; blacken: (ratio: any) => this; greyscale: () => this; clearer: (ratio: any) => this; toJSON: () => any; }
>Color.prototype : { negate: () => this; lighten: (ratio: any) => this; darken: (ratio: any) => this; saturate: (ratio: any) => this; desaturate: (ratio: any) => this; whiten: (ratio: any) => this; blacken: (ratio: any) => this; greyscale: () => this; clearer: (ratio: any) => this; toJSON: () => any; }
>Color : typeof Color
>prototype : { negate: () => this; lighten: (ratio: any) => this; darken: (ratio: any) => this; saturate: (ratio: any) => this; desaturate: (ratio: any) => this; whiten: (ratio: any) => this; blacken: (ratio: any) => this; greyscale: () => this; clearer: (ratio: any) => this; toJSON: () => any; }
>{	negate: function () {return this;},	lighten: function (ratio) {return this;},	darken: function (ratio) {return this;},	saturate: function (ratio) {return this;},	desaturate: function (ratio) {return this;},	whiten: function (ratio) {return this;},	blacken: function (ratio) {return this;},	greyscale: function () {return this;},	clearer: function (ratio) {return this;},	toJSON: function () {return this.rgb();},} : { negate: () => this; lighten: (ratio: any) => this; darken: (ratio: any) => this; saturate: (ratio: any) => this; desaturate: (ratio: any) => this; whiten: (ratio: any) => this; blacken: (ratio: any) => this; greyscale: () => this; clearer: (ratio: any) => this; toJSON: () => any; }

	negate: function () {return this;},
>negate : () => this
>function () {return this;} : () => this
>this : this

	lighten: function (ratio) {return this;},
>lighten : (ratio: any) => this
>function (ratio) {return this;} : (ratio: any) => this
>ratio : any
>this : this

	darken: function (ratio) {return this;},
>darken : (ratio: any) => this
>function (ratio) {return this;} : (ratio: any) => this
>ratio : any
>this : this

	saturate: function (ratio) {return this;},
>saturate : (ratio: any) => this
>function (ratio) {return this;} : (ratio: any) => this
>ratio : any
>this : this

	desaturate: function (ratio) {return this;},
>desaturate : (ratio: any) => this
>function (ratio) {return this;} : (ratio: any) => this
>ratio : any
>this : this

	whiten: function (ratio) {return this;},
>whiten : (ratio: any) => this
>function (ratio) {return this;} : (ratio: any) => this
>ratio : any
>this : this

	blacken: function (ratio) {return this;},
>blacken : (ratio: any) => this
>function (ratio) {return this;} : (ratio: any) => this
>ratio : any
>this : this

	greyscale: function () {return this;},
>greyscale : () => this
>function () {return this;} : () => this
>this : this

	clearer: function (ratio) {return this;},
>clearer : (ratio: any) => this
>function (ratio) {return this;} : (ratio: any) => this
>ratio : any
>this : this

	toJSON: function () {return this.rgb();},
>toJSON : () => any
>function () {return this.rgb();} : () => any
>this.rgb() : any
>this.rgb : any
>this : this
>rgb : any

};