Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Parse error when using as parser for eslint-plugin-import #519

Copy link
Copy link
Closed
@christophercurrie

Description

@christophercurrie
Issue body actions

What version of TypeScript are you using?

3.0.1

What version of typescript-eslint-parser are you using?

19.0.1

What code were you trying to parse?

import Foo from "./Foo";

What did you expect to happen?

Using eslint-plugin-import 2.14.0 should allow eslint on Javascript to check imports of Typescript files using typescript-eslint-parser as documented by the plugin.

What happened?

All files importing typescript code complain:

Parse errors in imported module './Foo': parser.parse is not a function. (undefined:undefined)

It appears that version 19 has dropped the parse function from its list of exports, which seems like it would be related.

gpoitch and noe132

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.