aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-20 09:12:21 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-20 09:12:21 +0800
commite86982bd41b933a6929bbf571d246585ed3c3882 (patch)
treea10b989dc32a0e3e9b81350701f3d305fa0bb899
parentdb6b2cbb05c59003bd2eee05d7a560949f8e15d9 (diff)
downloaddexon-sol-tools-e86982bd41b933a6929bbf571d246585ed3c3882.tar.gz
dexon-sol-tools-e86982bd41b933a6929bbf571d246585ed3c3882.tar.zst
dexon-sol-tools-e86982bd41b933a6929bbf571d246585ed3c3882.zip
Add ability to import SVGs in TS
-rw-r--r--packages/instant/src/globals.d.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/instant/src/globals.d.ts b/packages/instant/src/globals.d.ts
index 94e63a32d..1b5fa443d 100644
--- a/packages/instant/src/globals.d.ts
+++ b/packages/instant/src/globals.d.ts
@@ -1,3 +1,9 @@
+declare module '*.svg' {
+ const content: any;
+ /* tslint:disable */
+ export default content;
+ /* tslint:enable */
+}
declare module '*.json' {
const json: any;
/* tslint:disable */