javascript-decorators
javascript-decorators copied to clipboard
2D level editor that simulates a 2D-sandbox game. Since it's for personal use, i am only expecting it to run locally on my computer. The codes there are tightly coupled...
Decorators for classes, methods, and object properties are a really nice extension to the language. The only extra one I would _like_ to see is the ability to add decorators...
At present the `Send` function returns `any`. It would be nice it we could this to understand the type from the `ICommandHandler` interface or by specifying a type when using...
`descriptor` not defined in example scope - you meant `descriptor` as the input, right? Or am I missing something?
Is it possible that we can change a property to a getter / setter in decorator's `descriptor.initializer` function? ``` js class CustomView { constructor() { this.controls = { table: 'table'...
Hey there, I tried today using babel and realize it doesn't work: ``` @decorator let somethingWorkLikeClass = aFunctionThatReturnsObject(); ``` Babel will raise SyntexError: Leading decorator must be attached to a...
This commit fixes an apparent typo. It seems to me that it is the _engine_ that is interceding, not the _decorator_, as suggested in other PRs.
I hope I'm not sounding like a total idiot (maybe it's a common term I haven't heard of?) but I confess I was thrown by "design time" in the very...
/cc @wycats