forked from hazem/yslootahrobotics
feat: add type definitions for draco3dgltf module
This commit is contained in:
parent
a955da7ec8
commit
5aba12f163
7
src/types/draco3dgltf.d.ts
vendored
Normal file
7
src/types/draco3dgltf.d.ts
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
declare module 'draco3dgltf' {
|
||||
const draco3d: {
|
||||
createDecoderModule(): Promise<unknown>;
|
||||
createEncoderModule(): Promise<unknown>;
|
||||
};
|
||||
export default draco3d;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user