@intelliweave/embedded 1.6.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/custom.d.ts ADDED
@@ -0,0 +1,20 @@
1
+ //
2
+ // Here we declare the output types we'd expect from webpack for asset imports, that way TypeScript in VSCode
3
+ // can understand it even if it's actually being ignored when building
4
+
5
+ declare module '*.svg' {
6
+ const content: any;
7
+ export default content;
8
+ }
9
+
10
+ // Add missing URL.createObjectURL definition. This is necessary because webpack imports @types/node for some crazy reason, and
11
+ // that overrides the URL object with a different definition that doesn't include createObjectURL. This is a hack to fix it.
12
+ declare namespace URL {
13
+ function createObjectURL(blob: Blob): string;
14
+ }
15
+
16
+ // Fix bestzip no types
17
+ declare module 'bestzip' {
18
+ const content: any;
19
+ export default content;
20
+ }