Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit 5d9fdf8

Browse files
author
James Baxley
committed
fix typings issues
1 parent 369e673 commit 5d9fdf8

File tree

2 files changed

+24
-23
lines changed

2 files changed

+24
-23
lines changed

package.json

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,7 @@
5353
"apollo-client": "^0.4.15"
5454
},
5555
"devDependencies": {
56-
"@types/enzyme": "^2.4.32",
57-
"@types/immutable": "^3.8.3",
58-
"@types/invariant": "^2.2.27",
59-
"@types/isomorphic-fetch": "0.0.30",
60-
"@types/jest": "^0.9.31",
61-
"@types/lodash": "^4.14.34",
62-
"@types/node": "^6.0.38",
63-
"@types/object-assign": "^4.0.28",
64-
"@types/react": "^0.14.34",
65-
"@types/react-addons-test-utils": "^0.14.14",
66-
"@types/react-dom": "^0.14.16",
67-
"@types/react-redux": "^4.4.31",
68-
"@types/redux-form": "^4.0.29",
69-
"@types/redux-immutable": "^3.0.30",
70-
"@types/sinon": "^1.16.29",
56+
"@types/chai": "^3.4.33",
7157
"apollo-client": "^0.4.15",
7258
"babel-jest": "^14.1.0",
7359
"babel-preset-react-native": "^1.9.0",
@@ -77,7 +63,6 @@
7763
"enzyme": "^2.2.0",
7864
"graphql": "^0.5.0",
7965
"graphql-tag": "^0.1.7",
80-
"graphql-typings": "0.0.1-beta-2",
8166
"gzip-size": "^3.0.0",
8267
"immutable": "^3.8.1",
8368
"isomorphic-fetch": "^2.2.1",
@@ -102,18 +87,34 @@
10287
"swapi-graphql": "0.0.4",
10388
"travis-weigh-in": "^1.0.2",
10489
"tslint": "^3.6.0",
105-
"typescript": "^2.1.0-dev.20160918",
90+
"typescript": "^2.0.3",
10691
"typescript-require": "^0.2.9-1",
10792
"typings": "^0.7.9",
10893
"uglify-js": "^2.6.2"
10994
},
11095
"dependencies": {
96+
"@types/enzyme": "^2.4.32",
97+
"@types/immutable": "^3.8.3",
98+
"@types/invariant": "^2.2.27",
99+
"@types/isomorphic-fetch": "0.0.30",
100+
"@types/jest": "^0.9.31",
101+
"@types/lodash": "^4.14.36",
102+
"@types/node": "^6.0.38",
103+
"@types/object-assign": "^4.0.28",
104+
"@types/react": "^0.14.34",
105+
"@types/react-addons-test-utils": "^0.14.14",
106+
"@types/react-dom": "^0.14.16",
107+
"@types/react-redux": "^4.4.31",
108+
"@types/redux-form": "^4.0.29",
109+
"@types/redux-immutable": "^3.0.30",
110+
"@types/sinon": "^1.16.29",
111111
"hoist-non-react-statics": "^1.2.0",
112112
"invariant": "^2.2.1",
113113
"lodash.flatten": "^4.2.0",
114114
"lodash.isequal": "^4.1.1",
115115
"lodash.isobject": "^3.0.2",
116116
"object-assign": "^4.0.1",
117-
"recompose": "^0.20.2"
117+
"recompose": "^0.20.2",
118+
"typed-graphql": "^1.0.2"
118119
}
119120
}

typings.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// <reference types="graphql-typings" />
1+
/// <reference path="./node_modules/typed-graphql/graphql.d.ts" />
22

33

44
/*
@@ -10,13 +10,13 @@ declare module 'lodash.isobject' {
1010
}
1111

1212
declare module 'lodash.isequal' {
13-
import main = require('lodash');
14-
export = main.isEqual;
13+
import main = require('lodash/isEqual');
14+
export = main;
1515
}
1616

1717
declare module 'lodash.flatten' {
18-
import main = require('lodash');
19-
export = main.flatten;
18+
import main = require('lodash/flatten');
19+
export = main;
2020
}
2121

2222
declare module 'recompose/compose' {

0 commit comments

Comments
 (0)