assemblyscript/tests/parser/function.ts.fixture.ts

11 lines
263 B
TypeScript
Raw Normal View History

function simple(): void {}
function typeparams<T, V extends T>(a?: V | null = null): void {}
2017-10-02 12:52:15 +02:00
@decorator()
function withdecorator(): void {}
function withthis(this: i32): i32 {
return this;
}
function withthisp(this: i32, a: f32, b: f64): i32 {
return this;
}