mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-14 23:41:30 +00:00
Type aliases
This commit is contained in:
5
tests/compiler/typealias.ts
Normal file
5
tests/compiler/typealias.ts
Normal file
@ -0,0 +1,5 @@
|
||||
type alias = i32;
|
||||
|
||||
export function alias(a: alias): alias {
|
||||
return a;
|
||||
}
|
Reference in New Issue
Block a user