diff options
Diffstat (limited to 'packages/react-shared/src/globals.d.ts')
-rw-r--r-- | packages/react-shared/src/globals.d.ts | 14 |
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 */ +} |