Skip to content

#!/usr/bin/env node doesn't necesarily need to mean a javascript filetype if you are using e.g. Typescript #7

@Lilja

Description

@Lilja

Stumbled upon a bug today after having used this plugin for a while.

I put my node shebang today in my file.ts typescript file, which after not completely understanding why my language server complained about me putting types into a javascript file.

Perhaps if the file extension ends with .ts, you cannot make the assumption that we are looking at a javascript file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions