Annotator for ES5. Lets you write ES5 with TypeScript-like annotations.
This library is super experimental. Like winter, changes are coming.
This JS code:
(a).RouteConfig([
{ path: '/' }
])
(a).View({
template: '...'
})
(MyController)
function MyController () {}Is the same as this TypeScript code:
@RouteConfig([
{ path: '/' }
])
@View({
template: '...'
})
class MyController {}Apache 2.0