Skip to content

VS plugin marks import with extension as an error #11235

Closed
@outring

Description

@outring

According to the #4595, file extensions are now allowed to be present in imports, but it's still highlighted as an error by IntelliSense.

TypeScript Version: 2.0.3.0

Code

import {foo} from "./bar.ts";
import {foo2} from "./bar2.tsx";

Expected behavior: No "An import path cannot end with a '.ts' extension" error

Actual behavior: "An import path cannot end with a '.ts' extension" error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Working as IntendedThe behavior described is the intended behavior; this is not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions