2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/argumentsUsedInObjectLiteralProperty.ts ===
|
|
|
|
class A {
|
|
|
|
>A : A
|
|
|
|
|
|
|
|
public static createSelectableViewModel(initialState?: any, selectedValue?: any) {
|
2014-08-25 19:36:12 +02:00
|
|
|
>createSelectableViewModel : (initialState?: any, selectedValue?: any) => { selectedValue: number; }
|
2014-08-15 23:33:16 +02:00
|
|
|
>initialState : any
|
|
|
|
>selectedValue : any
|
|
|
|
|
|
|
|
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
|
|
|
|
>selectedValue : number
|
|
|
|
>arguments.length : number
|
|
|
|
>arguments : IArguments
|
|
|
|
>length : number
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|