mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
236 B
TypeScript
14 lines
236 B
TypeScript
//// [tests/cases/conformance/es7/trailingCommasInGetter.ts] ////
|
|
|
|
//// [trailingCommasInGetter.ts]
|
|
class X {
|
|
get x(,) { return 0; }
|
|
}
|
|
|
|
|
|
//// [trailingCommasInGetter.js]
|
|
"use strict";
|
|
class X {
|
|
get x() { return 0; }
|
|
}
|