Type Declarations for mp3 files

This commit is contained in:
Manoj Vivek 2022-09-20 12:02:15 +05:30
parent 4a8746e6cc
commit 1042c5f79b
2 changed files with 2 additions and 1 deletions

1
desktop-app-rewrite/declarations.d.ts vendored Normal file
View file

@ -0,0 +1 @@
declare module '*.mp3';

View file

@ -4,9 +4,9 @@ import Button from 'renderer/components/Button';
import useSound from 'use-sound';
import { ScreenshotArgs, ScreenshotResult } from 'main/screenshot';
import { Device } from 'common/deviceList';
import WebPage from 'main/screenshot/webpage';
import screenshotSfx from 'renderer/assets/sfx/screenshot.mp3';
import WebPage from 'main/screenshot/webpage';
interface Props {
webview: Electron.WebviewTag | null;