Skip to content

String literals are failing #2300

Open
Open
@npenin

Description

@npenin

Assembly script fails on parsing union string literals (https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#literal-types). An example as simple as this fails:

export type BufferEncoding = 'utf8' | 'ascii';
ERROR TS1005: 'null' expected.

 export type BufferEncoding = 'utf8' | 'ascii';

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions