Files
tsgo/testdata/baselines/reference/submodule/compiler/argumentsUsedInObjectLiteralProperty.js

21 lines
532 B
TypeScript

//// [tests/cases/compiler/argumentsUsedInObjectLiteralProperty.ts] ////
//// [argumentsUsedInObjectLiteralProperty.ts]
class A {
public static createSelectableViewModel(initialState?: any, selectedValue?: any) {
return {
selectedValue: arguments.length
};
}
}
//// [argumentsUsedInObjectLiteralProperty.js]
"use strict";
class A {
static createSelectableViewModel(initialState, selectedValue) {
return {
selectedValue: arguments.length
};
}
}