Skip to content

Commit 2d4a029

Browse files
committed
Fix compilation warnings
1 parent 85705cd commit 2d4a029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/asset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const extToType = new Map([
2828
const processBufferView = (
2929
gltfBuffer: any,
3030
buffers: Array<any>,
31-
continuation: (err: string, result: any) => void
31+
continuation: (err: string | null, result: any) => void
3232
) => {
3333
if (gltfBuffer.extensions && gltfBuffer.extensions.EXT_meshopt_compression) {
3434
const extensionDef = gltfBuffer.extensions.EXT_meshopt_compression;

0 commit comments

Comments
 (0)