Skip to content

Javascript language mode on file which is not js cause error #7720

Description

@Thaina

I was create file .jslib (js file format for unity3D project) And select language mode as js

Then it cause error unlike normal js file. It try to check existence of all variable and cause error. It seem like it not use the same engine. When I change this file tobe .js it just work properly

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions