This repository has been archived by the owner on Jan 19, 2019. It is now read-only.
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.
Closed
Description
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.