assemblyscript/tests/parser/decorators.ts

11 lines
148 B
TypeScript
Raw Normal View History

@global
@operator("+")
@operator.binary("-")
@operator.prefix("~")
@operator.postfix("++")
@unmanaged
@sealed
@inline
@custom
function a(): void {}