Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

Plugin gives invalid errors when importing modules #13

@FunkMonkey

Description

@FunkMonkey

Having two files like this:

test.ts

export class Test {
};

main.ts

import TestModule = import("./test");

will lead to the following error in main.ts: "A module cannot be aliased to a non-module type".

The two files will compile fine using Visual Studio or via tsc-command-line.

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