Skip to content

Skip leading bar during type's declaration #2149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

MaxGraey
Copy link
Member

Add parsing this valid TS syntax:

type Maybe<T> = | T | null;

or

type Maybe<T> = 
  | T 
  | null;
  • I've read the contributing guidelines
  • I've added my name and email to the NOTICE file

@MaxGraey MaxGraey merged commit 738af31 into AssemblyScript:main Nov 17, 2021
@MaxGraey MaxGraey deleted the parse-leading-bar-for-type-decl branch November 17, 2021 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants