TypeScript/tests/cases/compiler/staticGetterAndSetter.ts

5 lines
93 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
class Foo {
static get Foo():number { return 0; }
static set Foo(n: number) {}
}