a icon indicating copy to clipboard operation
a copied to clipboard

Library for annotating ES5

a

Annotator for ES5. Lets you write ES5 with TypeScript-like annotations.

Disclaimer

This library is super experimental. Like winter, changes are coming.

Use

This JS code:

a.RouteConfig([
  { path: '/' }
]).
View({
  template: '...'
}).
for(MyController)
function MyController () {}

Is the same as this TypeScript code:

@RouteConfig([
  { path: '/' }
])
@View({
  template: '...'
})
class MyController {}

License

Apache 2.0