File: objectLiteralParameterResolution.types

package info (click to toggle)
node-typescript 5.0.4%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 459,140 kB
  • sloc: javascript: 1,972,754; makefile: 6; sh: 1
file content (67 lines) | stat: -rw-r--r-- 2,618 bytes parent folder | download | duplicates (5)
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
=== tests/cases/compiler/objectLiteralParameterResolution.ts ===
interface Foo{
    extend<T>(target: T, ...objs: any[]): T;
>extend : { <T>(target: T, ...objs: any[]): T; <T>(deep: boolean, target: T, ...objs: any[]): T; }
>target : T
>objs : any[]

    extend<T>(deep: boolean, target: T, ...objs: any[]): T;
>extend : { <T>(target: T, ...objs: any[]): T; <T>(deep: boolean, target: T, ...objs: any[]): T; }
>deep : boolean
>target : T
>objs : any[]
}
declare var $: Foo;
>$ : Foo

var s = $.extend({
>s : { type: string; data: string; success: any; error: any; dataType: string; converters: { "text json": string; }; traditional: boolean; timeout: number; }
>$.extend({    type: "GET" ,    data: "data" ,    success: wrapSuccessCallback(requestContext, callback) ,    error: wrapErrorCallback(requestContext, errorCallback) ,    dataType: "json" ,    converters: { "text json": "" },    traditional: true ,    timeout: 12,    }, "") : { type: string; data: string; success: any; error: any; dataType: string; converters: { "text json": string; }; traditional: boolean; timeout: number; }
>$.extend : { <T>(target: T, ...objs: any[]): T; <T>(deep: boolean, target: T, ...objs: any[]): T; }
>$ : Foo
>extend : { <T>(target: T, ...objs: any[]): T; <T>(deep: boolean, target: T, ...objs: any[]): T; }
>{    type: "GET" ,    data: "data" ,    success: wrapSuccessCallback(requestContext, callback) ,    error: wrapErrorCallback(requestContext, errorCallback) ,    dataType: "json" ,    converters: { "text json": "" },    traditional: true ,    timeout: 12,    } : { type: string; data: string; success: any; error: any; dataType: string; converters: { "text json": string; }; traditional: true; timeout: number; }

    type: "GET" ,
>type : string
>"GET" : "GET"

    data: "data" ,
>data : string
>"data" : "data"

    success: wrapSuccessCallback(requestContext, callback) ,
>success : any
>wrapSuccessCallback(requestContext, callback) : any
>wrapSuccessCallback : any
>requestContext : any
>callback : any

    error: wrapErrorCallback(requestContext, errorCallback) ,
>error : any
>wrapErrorCallback(requestContext, errorCallback) : any
>wrapErrorCallback : any
>requestContext : any
>errorCallback : any

    dataType: "json" ,
>dataType : string
>"json" : "json"

    converters: { "text json": "" },
>converters : { "text json": string; }
>{ "text json": "" } : { "text json": string; }
>"text json" : string
>"" : ""

    traditional: true ,
>traditional : true
>true : true

    timeout: 12,
>timeout : number
>12 : 12

    }, "");
>"" : ""