Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Commit 138495f

Browse files
JamesHenrynzakas
authored andcommitted
New: Add accessor decorators to AST (fixes #63) (#73)
1 parent f6a8e71 commit 138495f

8 files changed

+2672
-0
lines changed

tests/fixtures/typescript/decorators/accessor-decorators/accessor-decorator-factory-instance-member.result.js

+645
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
class Point {
2+
@configurable(false)
3+
get x() { return this._x; }
4+
}

tests/fixtures/typescript/decorators/accessor-decorators/accessor-decorator-factory-static-member.result.js

+793
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
class Other {
2+
@foo({ baz: true })
3+
static get bar() { return this._bar; }
4+
}

0 commit comments

Comments
 (0)