Skip to content

Better error messages for ambient accessors. #139

Description

declareclassA{getlength() : number;}

Giving the error '{' expected.

As Jason Freeman (@JsonFreeman) said

This is a bad error because fixing it (by putting the braces) will just lead you to another error (no accessors in ambient context)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions