20 lines
508 B
JavaScript
20 lines
508 B
JavaScript
//// [argumentsUsedInObjectLiteralProperty.ts]
|
|
class A {
|
|
public static createSelectableViewModel(initialState?: any, selectedValue?: any) {
|
|
return {
|
|
selectedValue: arguments.length
|
|
};
|
|
}
|
|
}
|
|
|
|
//// [argumentsUsedInObjectLiteralProperty.js]
|
|
var A = (function () {
|
|
function A() {
|
|
}
|
|
A.createSelectableViewModel = function (initialState, selectedValue) {
|
|
return {
|
|
selectedValue: arguments.length
|
|
};
|
|
};
|
|
return A;
|
|
})();
|