aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/globals.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/react-docs/src/globals.d.ts')
-rw-r--r--packages/react-docs/src/globals.d.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/react-docs/src/globals.d.ts b/packages/react-docs/src/globals.d.ts
new file mode 100644
index 000000000..c7cd53854
--- /dev/null
+++ b/packages/react-docs/src/globals.d.ts
@@ -0,0 +1,14 @@
+declare module 'react-tooltip';
+
+// compare-version declarations
+declare function compareVersions(firstVersion: string, secondVersion: string): number;
+declare module 'compare-versions' {
+ export = compareVersions;
+}
+
+declare module '*.json' {
+ const json: any;
+ /* tslint:disable */
+ export default json;
+ /* tslint:enable */
+}