Closed aloisklink closed 3 weeks ago
Currently, SVGs are returned as Buffers from renderMermaid(), which is almost compatible with UInt8Array, but not 100%, which was causing TypeScript 5.6 to throw an error.
Buffer
renderMermaid()
UInt8Array
See: https://github.com/mermaid-js/mermaid-cli/pull/746
This should resolve the CI failure in https://github.com/mermaid-js/mermaid-cli/pull/746
N/A
Make sure you
master
:bookmark_tabs: Summary
Currently, SVGs are returned as
Buffer
s fromrenderMermaid()
, which is almost compatible withUInt8Array
, but not 100%, which was causing TypeScript 5.6 to throw an error.See: https://github.com/mermaid-js/mermaid-cli/pull/746
This should resolve the CI failure in https://github.com/mermaid-js/mermaid-cli/pull/746
:straight_ruler: Design Decisions
N/A
:clipboard: Tasks
Make sure you
master
branch