mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
532 B
TypeScript
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
|
|
};
|
|
}
|
|
}
|