TypeScript/tests/cases/compiler/argumentsUsedInObjectLiteralProperty.ts
2014-07-12 17:30:19 -07:00

7 lines
182 B
TypeScript

class A {
public static createSelectableViewModel(initialState?: any, selectedValue?: any) {
return {
selectedValue: arguments.length
};
}
}