Created
April 27, 2023 16:30
-
-
Save epreston/2a0674a9fa20de2e25ca659690b77229 to your computer and use it in GitHub Desktop.
global.d.ts - required to properly configure vite projects with some examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// global.d.ts | |
/// <reference types="vite/client" /> | |
// additional import types not included in vite/client | |
// declare module '*.m4a' { | |
// const src: string | |
// export default src | |
// } | |
// declare module '*.glb' { | |
// const src: string | |
// export default src | |
// } | |
// declare module '*.gltf' { | |
// const src: string | |
// export default src | |
// } | |
// declare module '*.vue' {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the /// on line 3, is actually interpreted in this file.