Skip to content

Output code snippet #2145

Closed
Closed
@tinganho

Description

@tinganho

It would be good if tsccould output code snippet on where some error occurs:

function test() {
----------------^-- 
src/preprocessor/scanner.ts(185,1): error TS1128: Declaration or statement expected.

Just looking at the line and column is not so UX friendly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedA PR has been merged for this issueSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions