mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
283 B
TypeScript
18 lines
283 B
TypeScript
//// [tests/cases/compiler/accessorWithLineTerminator.ts] ////
|
|
|
|
//// [accessorWithLineTerminator.ts]
|
|
class C {
|
|
get
|
|
x() { return 1 }
|
|
|
|
set
|
|
x(v) { }
|
|
}
|
|
|
|
//// [accessorWithLineTerminator.js]
|
|
"use strict";
|
|
class C {
|
|
get x() { return 1; }
|
|
set x(v) { }
|
|
}
|