-
Notifications
You must be signed in to change notification settings - Fork 365
Closed
Description
After cloning the repo at the current master, I'm seeing the following compilation issues:
node_modules/redux-devtools-extension/index.d.ts:1:32 - error TS2305: Module '"/data/tmp/redux-async-ts/node_modules/redux/index"' has no exported member 'GenericStoreEnhancer'.
1 import {Action, ActionCreator, GenericStoreEnhancer, compose} from "redux";
~~~~~~~~~~~~~~~~~~~~
types/global.d.ts:11:48 - error TS2344: Type 'keyof T' does not satisfy the constraint 'string'.
Type 'string | number | symbol' is not assignable to type 'string'.
Type 'number' is not assignable to type 'string'.
11 type Omit<T, K extends keyof T> = { [P in Diff<keyof T, K>]: T[P] };
~~~~~~~
Steps:
- Clone this repo
- npm install
- npx tsc
The second error appears to be related to known breaking changes in Typescript 2.9 with keyof
. I'm assuming the first issue is just an out of sync typing file.
Downgrading to Typescript 2.8.4 got rid of the second issue.
Metadata
Metadata
Assignees
Labels
No labels