You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to build library from the source code to debug it (npm link library to my app):
➜ comfyui-sdk git:(main) ✗ npm run build
> @saintno/comfyui-sdk@0.2.39 build
> bun build.ts
JSCompiling Building...
JSCompiling Done!
TypeCompiling Building...
src/client.ts(514,32): error TS2345: Argument of type'Blob | Buffer<ArrayBufferLike>' is not assignable to parameter of type'Blob'.
Type 'Buffer<ArrayBufferLike>' is missing the following properties from type'Blob': size, type, arrayBuffer, bytes, and 4 more.
src/client.ts(557,32): error TS2345: Argument of type'Blob | Buffer<ArrayBufferLike>' is not assignable to parameter of type'Blob'.
Type 'Buffer<ArrayBufferLike>' is missing the following properties from type'Blob': size, type, arrayBuffer, bytes, and 4 more.
18 |functioncheckDiagnosticsErrors(diagnostics, failMessage) {
19 |if (diagnostics.length === 0) {
20 |return;
21 | }
22 | (0, logger_1.errorLog)(ts.formatDiagnostics(diagnostics, formatDiagnosticsHost).trim());
23 | throw new Error(failMessage);
^
error: Compiled with errors
at checkDiagnosticsErrors (/Users/user123/Workspace/jp/comfyui-sdk/node_modules/dts-bundle-generator/dist/helpers/check-diagnostics-errors.js:23:11)
at checkProgramDiagnosticsErrors (/Users/user123/Workspace/jp/comfyui-sdk/node_modules/dts-bundle-generator/dist/helpers/check-diagnostics-errors.js:15:5)
at getDeclarationFiles (/Users/user123/Workspace/jp/comfyui-sdk/node_modules/dts-bundle-generator/dist/compile-dts.js:151:36)
at compileDts (/Users/user123/Workspace/jp/comfyui-sdk/node_modules/dts-bundle-generator/dist/compile-dts.js:39:22)
at generateDtsBundle (/Users/user123/Workspace/jp/comfyui-sdk/node_modules/dts-bundle-generator/dist/bundle-generator.js:14:63)
at /Users/user123/Workspace/jp/comfyui-sdk/build.ts:41:22
Bun v1.1.42 (macOS x64)
It compiled code (.cjs.js, .esm.js, .map) to build dir but without typescript definitions.
The text was updated successfully, but these errors were encountered:
I tried to build library from the source code to debug it (
npm link
library to my app):It compiled code (.cjs.js, .esm.js, .map) to build dir but without typescript definitions.
The text was updated successfully, but these errors were encountered: