diff --git a/src/converters/assimp.ts b/src/converters/assimp.ts index 9db38ce..95aa2b9 100644 --- a/src/converters/assimp.ts +++ b/src/converters/assimp.ts @@ -1,6 +1,6 @@ import { execFile as execFileOriginal } from "node:child_process"; -type ExecFileFn = ( +export type ExecFileFn = ( cmd: string, args: string[], callback: (err: Error | null, stdout: string, stderr: string) => void, diff --git a/tests/assimp.test.ts b/tests/assimp.test.ts index 062c115..fea0e9f 100644 --- a/tests/assimp.test.ts +++ b/tests/assimp.test.ts @@ -1,12 +1,6 @@ import type { ExecFileException } from "node:child_process"; import { expect, test } from "bun:test"; -import { convert } from "../src/converters/assimp"; - -type ExecFileFn = ( - cmd: string, - args: string[], - callback: (err: Error | null, stdout: string, stderr: string) => void, -) => void; +import { convert, ExecFileFn } from "../src/converters/assimp"; test("convert resolves when execFile succeeds", async () => { const originalConsoleLog = console.log;