Skip to content

error with typings #3438

Closed
Closed
@cramhead

Description

@cramhead

Version

2.0.0

Steps to reproduce

  1. Clone https://github.com/rangle/typescript-react-redux-starter and get it running, i.e. npm install; npm run dev
  2. run node_modules/typings/dest/bin.js install react-router --ambient --save
  3. run npm run dev

Expected Behavior

Typings throw no errors

Actual Behavior

Typings compilation throw three errors:

ERROR in /Projects/REACT/rangle/typescript-react-redux-starter/typings/browser/ambient/react-router/index.d.ts
(32,22): error TS2305: Module 'HistoryModule' has no exported member 'LocationDescriptor'.

ERROR in /Projects/REACT/rangle/typescript-react-redux-starter/typings/browser/ambient/react-router/index.d.ts
(111,30): error TS2305: Module 'HistoryModule' has no exported member 'LocationDescriptor'.

ERROR in /Projects/REACT/rangle/typescript-react-redux-starter/typings/browser/ambient/react-router/index.d.ts
(211,31): error TS2305: Module 'HistoryModule' has no exported member 'LocationDescriptor'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions