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

Open

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.

Activity

  1. derekcicerone-zz commented on Mar 19, 2013

    @derekcicerone-zz

    I'm seeing the same issue - everything else seems to be working really nicely (the auto-complete is really nice!)

  2. hansrwindhoff commented on Mar 25, 2014

    @hansrwindhoff

    I am seeing this too sometimes, but only in windows (not in Ubuntu) and there is a previous error saying that it cant find the file to be imported (when you push ctrl+shift+e), After restarting sublime the error sometimes went away...

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

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