TypeScript/tests/baselines/reference/argumentsUsedInObjectLiteralProperty.types

22 lines
1.1 KiB
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/argumentsUsedInObjectLiteralProperty.ts ===
class A {
2015-04-13 23:01:57 +02:00
>A : A, Symbol(A, Decl(argumentsUsedInObjectLiteralProperty.ts, 0, 0))
2014-08-15 23:33:16 +02:00
public static createSelectableViewModel(initialState?: any, selectedValue?: any) {
2015-04-13 23:01:57 +02:00
>createSelectableViewModel : (initialState?: any, selectedValue?: any) => { selectedValue: number; }, Symbol(A.createSelectableViewModel, Decl(argumentsUsedInObjectLiteralProperty.ts, 0, 9))
>initialState : any, Symbol(initialState, Decl(argumentsUsedInObjectLiteralProperty.ts, 1, 44))
>selectedValue : any, Symbol(selectedValue, Decl(argumentsUsedInObjectLiteralProperty.ts, 1, 63))
2014-08-15 23:33:16 +02:00
return {
2014-08-22 03:39:46 +02:00
>{ selectedValue: arguments.length } : { selectedValue: number; }
2014-08-15 23:33:16 +02:00
selectedValue: arguments.length
2015-04-13 23:01:57 +02:00
>selectedValue : number, Symbol(selectedValue, Decl(argumentsUsedInObjectLiteralProperty.ts, 2, 16))
>arguments.length : number, Symbol(IArguments.length, Decl(lib.d.ts, 272, 25))
>arguments : IArguments, Symbol(arguments)
2015-04-13 23:01:57 +02:00
>length : number, Symbol(IArguments.length, Decl(lib.d.ts, 272, 25))
2014-08-15 23:33:16 +02:00
};
}
}