kaleidawave / prism

(No longer in development). Experimental compiler for building isomorphic web applications with web components.
MIT License
110 stars 1 forks source link

Implement intersection types #2

Closed kaleidawave closed 4 years ago

kaleidawave commented 4 years ago

On trying to parse a type signature with a intersection type it throws ParseError: Expected "End of script" received "&".

Example:

const bDeclaration = VariableDeclaration.fromString(`let b: a & b;`);