Home
last modified time | relevance | path

Searched refs:number (Results 1 – 25 of 12146) sorted by relevance

12345678910>>...486

/third_party/typescript/tests/baselines/reference/
DexternModule.types9 public getDay():number;
10 >getDay : () => number
12 public getXDate():number;
13 >getXDate : () => number
21 constructor(year: number, month: number);
22 >year : number
23 >month : number
25 constructor(year: number, month: number, date: number);
26 >year : number
27 >month : number
[all …]
DassignmentCompatWithCallSignaturesWithOptionalParameters.types5 a: () => number;
6 >a : () => number
8 a2: (x?: number) => number;
9 >a2 : (x?: number) => number
10 >x : number
12 a3: (x: number) => number;
13 >a3 : (x: number) => number
14 >x : number
16 a4: (x: number, y?: number) => number;
17 >a4 : (x: number, y?: number) => number
[all …]
DtemplateStringBinaryOperationsInvalid.types3 >a : number
4 >1 - `${ 3 }` : number
10 >b : number
11 >1 - `2${ 3 }` : number
17 >c : number
18 >1 - `${ 3 }4` : number
24 >d : number
25 >1 - `2${ 3 }4` : number
31 >e : number
32 >`${ 3 }` - 5 : number
[all …]
DtemplateStringBinaryOperationsES6Invalid.types3 >a : number
4 >1 - `${ 3 }` : number
10 >b : number
11 >1 - `2${ 3 }` : number
17 >c : number
18 >1 - `${ 3 }4` : number
24 >d : number
25 >1 - `2${ 3 }4` : number
31 >e : number
32 >`${ 3 }` - 5 : number
[all …]
DassignmentCompatWithCallSignaturesWithRestParameters.types5 a: (...args: number[]) => number;
6 >a : (...args: number[]) => number
7 >args : number[]
9 a2: (x: number, ...z: number[]) => number;
10 >a2 : (x: number, ...z: number[]) => number
11 >x : number
12 >z : number[]
14 a3: (x: number, y?: string, ...z: number[]) => number;
15 >a3 : (x: number, y?: string, ...z: number[]) => number
16 >x : number
[all …]
DoptionalParamArgsTest.types11 C1M1():number;
12 >C1M1 : () => number
14 C1M2(C1M2A1:number):number;
15 >C1M2 : (C1M2A1: number) => number
16 >C1M2A1 : number
18 C1M3(C1M3A1?:number,C1M3A2?:number):number;
19 >C1M3 : (C1M3A1?: number, C1M3A2?: number) => number
20 >C1M3A1 : number
21 >C1M3A2 : number
23 C1M4(C1M4A1:number,C1M4A2?:number):number;
[all …]
DemitExponentiationOperator2.types3 >temp : number
7 >++temp ** 3 : number
8 >++temp : number
9 >temp : number
13 >--temp ** 3 : number
14 >--temp : number
15 >temp : number
19 >temp++ ** 3 : number
20 >temp++ : number
21 >temp : number
[all …]
DemitExponentiationOperator3.types3 >temp : number
7 >(-++temp) ** 3 : number
8 >(-++temp) : number
9 >-++temp : number
10 >++temp : number
11 >temp : number
15 >(+--temp) ** 3 : number
16 >(+--temp) : number
17 >+--temp : number
18 >--temp : number
[all …]
DfatarrowfunctionsOptionalArgs.types6 >() => 1 : () => number
11 >(arg) => 2 : (arg: any) => number
17 >arg => 2 : (arg: any) => number
23 >(arg = 1) => 3 : (arg?: number) => number
24 >arg : number
30 >(arg?) => 4 : (arg?: any) => number
35 (arg: number) => 5;
36 >(arg: number) => 5 : (arg: number) => number
37 >arg : number
41 (arg: number = 0) => 6;
[all …]
DassignmentCompatWithConstructSignaturesWithOptionalParameters.types5 a: new () => number;
6 >a : new () => number
8 a2: new (x?: number) => number;
9 >a2 : new (x?: number) => number
10 >x : number
12 a3: new (x: number) => number;
13 >a3 : new (x: number) => number
14 >x : number
16 a4: new (x: number, y?: number) => number;
17 >a4 : new (x: number, y?: number) => number
[all …]
DfunctionParameterArityMismatch.types2 declare function f1(a: number);
3 >f1 : { (a: number): any; (a: number, b: number, c: number): any; }
4 >a : number
6 declare function f1(a: number, b: number, c: number);
7 >f1 : { (a: number): any; (a: number, b: number, c: number): any; }
8 >a : number
9 >b : number
10 >c : number
14 >f1 : { (a: number): any; (a: number, b: number, c: number): any; }
18 >f1 : { (a: number): any; (a: number, b: number, c: number): any; }
[all …]
DcallSignaturesWithOptionalParameters2.types4 function foo(x?: number);
5 >foo : (x?: number) => any
6 >x : number
8 function foo(x?: number) { }
9 >foo : (x?: number) => any
10 >x : number
14 >foo : (x?: number) => any
19 >foo : (x?: number) => any
21 function foo2(x: number);
22 >foo2 : { (x: number): any; (x: number, y?: number): any; }
[all …]
DarrayLiteralWithMultipleBestCommonTypes.types4 var a: { x: number; y?: number };
5 >a : { x: number; y?: number; }
6 >x : number
7 >y : number
9 var b: { x: number; z?: number };
10 >b : { x: number; z?: number; }
11 >x : number
12 >z : number
14 var c: { x: number; a?: number };
15 >c : { x: number; a?: number; }
[all …]
DmapOnTupleTypes01.types3 >mapOnLooseArrayLiteral : number[]
4 >[1, 2, 3, 4].map(n => n * n) : number[]
5 >[1, 2, 3, 4].map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?:…
6 >[1, 2, 3, 4] : number[]
11 >map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]
12 >n => n * n : (n: number) => number
13 >n : number
14 >n * n : number
15 >n : number
16 >n : number
[all …]
DdestructuringSameNames.types5 >foo : number
7 >bar : number
8 >{ foo: 1 } : { foo: number; }
9 >foo : number
13 >({ foo, foo } = { foo: 2 }) : { foo: number; }
14 >{ foo, foo } = { foo: 2 } : { foo: number; }
15 >{ foo, foo } : { foo: number; }
16 >foo : number
17 >foo : number
18 >{ foo: 2 } : { foo: number; }
[all …]
DthisTypeInFunctions.types6 n: number;
7 >n : number
12 n: number;
13 >n : number
15 explicitThis(this: this, m: number): number {
16 >explicitThis : (this: this, m: number) => number
18 >m : number
21 >this.n + m : number
22 >this.n : number
24 >n : number
[all …]
DemitExponentiationOperator4.types5 (<number>temp) ** 3;
6 >(<number>temp) ** 3 : number
7 >(<number>temp) : number
8 ><number>temp : number
12 (<number>--temp) ** 3;
13 >(<number>--temp) ** 3 : number
14 >(<number>--temp) : number
15 ><number>--temp : number
16 >--temp : number
20 (<number>++temp) ** 3;
[all …]
DexponentiationOperatorSyntaxError1.types4 >-1 ** 2 : number
10 >+1 ** 2 : number
16 >1 ** -2 ** 3 : number
18 >-2 ** 3 : number
24 >1 ** -2 ** -3 : number
26 >-2 ** -3 : number
33 >-1 ** -2 ** -3 : number
36 >-2 ** -3 : number
43 >-(1 ** 2) ** 3 : number
44 >-(1 ** 2) : number
[all …]
DcommentsClassMembers.types7 public p1: number;
8 >p1 : number
11 public p2(/** number to add*/b: number) {
12 >p2 : (b: number) => number
13 >b : number
16 >this.p1 + b : number
17 >this.p1 : number
19 >p1 : number
20 >b : number
25 >p3 : number
[all …]
DemitCompoundExponentiationOperator2.types2 var comp: number;
3 >comp : number
6 >comp **= 1 : number
7 >comp : number
11 >comp **= comp **= 1 : number
12 >comp : number
13 >comp **= 1 : number
14 >comp : number
18 >comp **= comp **= 1 + 2 : number
19 >comp : number
[all …]
DsubtypingWithCallSignaturesWithRestParameters.types5 a: (...args: number[]) => number;
6 >a : (...args: number[]) => number
7 >args : number[]
9 a2: (x: number, ...z: number[]) => number;
10 >a2 : (x: number, ...z: number[]) => number
11 >x : number
12 >z : number[]
14 a3: (x: number, y?: string, ...z: number[]) => number;
15 >a3 : (x: number, y?: string, ...z: number[]) => number
16 >x : number
[all …]
DthisTypeInFunctionsNegative.types5 n: number;
6 >n : number
8 explicitThis(this: this, m: number): number {
9 >explicitThis : (this: this, m: number) => number
11 >m : number
14 >this.n + m : number
15 >this.n : number
17 >n : number
18 >m : number
20 implicitThis(m: number): number {
[all …]
DbinaryArithmeticControlFlowGraphNotTooLarge.types29 >a = blocks[0] - 1 : number
31 >blocks[0] - 1 : number
38 >a = (a << 3) | (a >>> 29) : number
40 >(a << 3) | (a >>> 29) : number
41 >(a << 3) : number
42 >a << 3 : number
43 >a : number
45 >(a >>> 29) : number
46 >a >>> 29 : number
47 >a : number
[all …]
DoptionalParameterInDestructuringWithInitializer.types4 declare function f(a:number,b:number): void;
5 >f : (a: number, b: number) => void
6 >a : number
7 >b : number
9 function func1( {a, b}: {a: number, b?: number} = {a: 1, b: 2} ) {
10 >func1 : ({ a, b }?: { a: number; b?: number;}) => void
11 >a : number
12 >b : number | undefined
13 >a : number
14 >b : number | undefined
[all …]
DarithmeticOperatorWithAnyAndNumber.types5 var b: number;
6 >b : number
10 >ra1 : number
11 >a * a : number
16 >ra2 : number
17 >a * b : number
19 >b : number
22 >ra3 : number
23 >a * 0 : number
28 >ra4 : number
[all …]

12345678910>>...486