diff --git a/tauri-wallet/src/index.d.ts b/tauri-wallet/src/index.d.ts new file mode 100644 index 0000000000..2706089afa --- /dev/null +++ b/tauri-wallet/src/index.d.ts @@ -0,0 +1,2 @@ +declare module '*.jpg' +declare module '*.png' diff --git a/tauri-wallet/src/types/index.ts b/tauri-wallet/src/types/index.ts index 41bfdafee5..c0f4287d79 100644 --- a/tauri-wallet/src/types/index.ts +++ b/tauri-wallet/src/types/index.ts @@ -1,2 +1,2 @@ -export * from './global' export * from './rust' +export * from './global' diff --git a/tauri-wallet/tsconfig.json b/tauri-wallet/tsconfig.json index 5b1ebffb0b..c161daf48c 100644 --- a/tauri-wallet/tsconfig.json +++ b/tauri-wallet/tsconfig.json @@ -48,7 +48,8 @@ // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ "typeRoots": [ "node_modules/@types", - "src/types" + "src/types", + "./" ] /* List of folders to include type definitions from. */, // "types": [], /* Type declaration files to be included in compilation. */ // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */