Skip to content

feat: add and improve package types#116

Open
bluwy wants to merge 1 commit into
yyx990803:masterfrom
bluwy:add-types
Open

feat: add and improve package types#116
bluwy wants to merge 1 commit into
yyx990803:masterfrom
bluwy:add-types

Conversation

@bluwy
Copy link
Copy Markdown

@bluwy bluwy commented Apr 14, 2026

  1. Add types for launch-editor-middleware
  2. Improve types for launch-editor: use overloads for stricter typings.

Note: I didn't export the ErrorCallback or Middleware types because it's a bit finicky to do so with CJS-style dts code (export =). Ideally these dts should be written in modern ESM-style (which works in CJS), but probably these could be used with very old TS versions, so I didn't change it.

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.

1 participant