forked from apollographql/apollo-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathambient.d.ts
107 lines (85 loc) · 2.1 KB
/
ambient.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/*
LODASH
*/
declare module 'lodash.isobject' {
import main = require('~lodash/index');
export = main.isObject;
}
declare module 'lodash.isequal' {
import main = require('~lodash/index');
export = main.isEqual;
}
declare module 'lodash.isarray' {
import main = require('~lodash/index');
export = main.isArray;
}
declare module 'lodash.isnull' {
import main = require('~lodash/index');
export = main.isNull;
}
declare module 'lodash.isstring' {
import main = require('~lodash/index');
export = main.isString;
}
declare module 'lodash.has' {
import main = require('~lodash/index');
export = main.has;
}
declare module 'lodash.assign' {
import main = require('~lodash/index');
export = main.assign;
}
declare module 'lodash.includes' {
import main = require('~lodash/index');
export = main.includes;
}
declare module 'lodash.isnumber' {
import main = require('~lodash/index');
export = main.isNumber;
}
declare module 'lodash.isboolean' {
import main = require('~lodash/index');
export = main.isBoolean;
}
declare module 'lodash.isundefined' {
import main = require('~lodash/index');
export = main.isUndefined;
}
declare module 'lodash.forown' {
import main = require('~lodash/index');
export = main.forOwn;
}
declare module 'lodash.omit' {
import main = require('~lodash/index');
export = main.omit;
}
declare module 'lodash.mapvalues' {
import main = require('~lodash/index');
export = main.mapValues;
}
declare module 'lodash.clonedeep' {
import main = require('~lodash/index');
export = main.cloneDeep;
}
declare module 'lodash.countby' {
import main = require('~lodash/index');
export = main.countBy;
}
declare module 'lodash.identity' {
import main = require('~lodash/index');
export = main.identity;
}
/*
GRAPHQL
*/
declare module 'graphql/language/parser' {
import { Source, ParseOptions, Document } from 'graphql';
// XXX figure out how to directly export this method
function parse(
source: Source | string,
options?: ParseOptions
): Document;
}
declare module 'graphql/language/printer' {
function print(ast: any): string;
}