mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-18 09:21:35 +00:00
Initial support for default imports/exports, see #98
Does not implement combinations like 'import theDefault, *' yet
This commit is contained in:
6
tests/parser/export-default.ts
Normal file
6
tests/parser/export-default.ts
Normal file
@ -0,0 +1,6 @@
|
||||
export default function theFunction(): void {}
|
||||
export default class TheClass {}
|
||||
// not so ts-y:
|
||||
export default enum TheEnum {}
|
||||
export default namespace theNamespace {}
|
||||
export default something;
|
Reference in New Issue
Block a user