Skip to content

docs: name print options type#1408

Open
ishaanlabs-gg wants to merge 1 commit into
jimp-dev:mainfrom
ishaanlabs-gg:fix-print-options-docs
Open

docs: name print options type#1408
ishaanlabs-gg wants to merge 1 commit into
jimp-dev:mainfrom
ishaanlabs-gg:fix-print-options-docs

Conversation

@ishaanlabs-gg

Copy link
Copy Markdown

Summary

  • Give the print plugin's options parameter a named exported type instead of an inline destructured type
  • Keep the existing runtime parsing behavior unchanged by destructuring inside the function body
  • Fix a small typo in the cb option doc comment

Fixes #1388.

Verification

  • git diff --check

I attempted to run pnpm --filter @jimp/plugin-print lint and pnpm --filter @jimp/plugin-print build, but pnpm needed to install the workspace dependencies and the OSC volume ran out of space during installation (ERR_PNPM_ENOSPC).

AI-assisted disclosure: I used AI assistance to inspect the issue, identify the TypeDoc rendering cause, and prepare this patch. I reviewed the final diff before submitting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some pages on the jimp Documentation site contain (non-resolved) placeholders

1 participant