2017-09-27 17:03:11 +03:00
|
|
|
|
|
|
|
class Foo1 {
|
|
|
|
@foo
|
|
|
|
// comment
|
|
|
|
async method() {}
|
|
|
|
}
|
|
|
|
|
|
|
|
class Foo2 {
|
|
|
|
@foo
|
|
|
|
// comment
|
|
|
|
private method() {}
|
|
|
|
}
|
|
|
|
|
|
|
|
class Foo3 {
|
|
|
|
@foo
|
|
|
|
// comment
|
|
|
|
*method() {}
|
|
|
|
}
|
|
|
|
|
|
|
|
class Foo4 {
|
|
|
|
@foo
|
|
|
|
// comment
|
|
|
|
async *method() {}
|
|
|
|
}
|
|
|
|
|
2017-12-03 06:59:35 +03:00
|
|
|
class Something {
|
|
|
|
@foo()
|
|
|
|
// comment
|
|
|
|
readonly property: Array<string>
|
|
|
|
}
|
|
|
|
|
2019-10-15 18:27:39 +03:00
|
|
|
class Something2 {
|
2017-12-03 06:59:35 +03:00
|
|
|
@foo()
|
|
|
|
// comment
|
|
|
|
abstract property: Array<string>
|
|
|
|
}
|
|
|
|
|
2019-10-15 18:27:39 +03:00
|
|
|
class Something3 {
|
2017-12-03 06:59:35 +03:00
|
|
|
@foo()
|
|
|
|
// comment
|
|
|
|
abstract method(): Array<string>
|
|
|
|
}
|