aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-shared/src/globals.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/react-shared/src/globals.d.ts')
-rw-r--r--packages/react-shared/src/globals.d.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/react-shared/src/globals.d.ts b/packages/react-shared/src/globals.d.ts
new file mode 100644
index 000000000..525563e23
--- /dev/null
+++ b/packages/react-shared/src/globals.d.ts
@@ -0,0 +1,14 @@
+declare module 'react-highlight';
+
+// is-mobile declarations
+declare function isMobile(): boolean;
+declare module 'is-mobile' {
+ export = isMobile;
+}
+
+declare module '*.json' {
+ const json: any;
+ /* tslint:disable */
+ export default json;
+ /* tslint:enable */
+}