Skip to content

Instantly share code, notes, and snippets.

@chollier
Created March 9, 2017 23:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chollier/44d2a7336b6defe3d931c85af7b957a8 to your computer and use it in GitHub Desktop.
Save chollier/44d2a7336b6defe3d931c85af7b957a8 to your computer and use it in GitHub Desktop.
loic@Loics-MacBook-Pro-32  ~/persistgraphql   master  npm run compile
> persistgraphql@0.3.1 compile /Users/loic/persistgraphql
> tsc
node_modules/@types/isomorphic-fetch/index.d.ts(23,14): error TS2300: Duplicate identifier 'BodyInit'.
node_modules/@types/isomorphic-fetch/index.d.ts(24,14): error TS2300: Duplicate identifier 'RequestInfo'.
node_modules/@types/isomorphic-fetch/index.d.ts(28,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'headers' must be of type 'any', but here has type 'string[] | Headers| { [index: string]: string; }'.
node_modules/@types/isomorphic-fetch/index.d.ts(30,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'mode' must be of type 'string', but here has type 'string | RequestMode'.
node_modules/@types/isomorphic-fetch/index.d.ts(31,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'credentials' must be of type 'string', but here has type 'string | RequestCredentials'.
node_modules/@types/isomorphic-fetch/index.d.ts(32,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'cache' must be of type 'string', but here has type 'string | RequestCache'.
node_modules/@types/isomorphic-fetch/index.d.ts(41,15): error TS2300: Duplicate identifier 'Headers'.
node_modules/@types/isomorphic-fetch/index.d.ts(61,5): error TS2687: All declarations of 'bodyUsed' must have identical modifiers.
node_modules/@types/isomorphic-fetch/index.d.ts(81,15): error TS2300: Duplicate identifier 'Request'.
node_modules/@types/isomorphic-fetch/index.d.ts(115,13): error TS2300: Duplicate identifier 'fetch'.
node_modules/typescript/lib/lib.dom.d.ts(6945,11): error TS2300: Duplicate identifier 'Headers'.
node_modules/typescript/lib/lib.dom.d.ts(6954,13): error TS2300: Duplicate identifier 'Headers'.
node_modules/typescript/lib/lib.dom.d.ts(9343,11): error TS2300: Duplicate identifier 'Request'.
node_modules/typescript/lib/lib.dom.d.ts(9360,13): error TS2300: Duplicate identifier 'Request'.
node_modules/typescript/lib/lib.dom.d.ts(14893,18): error TS2300: Duplicate identifier 'fetch'.
node_modules/typescript/lib/lib.dom.d.ts(14898,6): error TS2300: Duplicate identifier 'BodyInit'.
node_modules/typescript/lib/lib.dom.d.ts(14929,6): error TS2300: Duplicate identifier 'RequestInfo'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment