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
Type '(token: Token) => Promise<void>' is not assignable to type '(token: Token) => void | unknown[]'.
Type 'Promise<void>' is not assignable to type 'void | unknown[]'.ts(2322)
marked.d.ts(606, 9): The expected type comes from property 'walkTokens' which is declared here on type 'MarkedOptions'
Reproduce
Install the main branch of jupyterlab will download the latest release of marked.
Context
Adding a resolution to the main package.json file fixes the issue, but it should probably be fixed in jupyterlab.
Description
A fresh install of the npm packages resolves with
marked=7.0.4
(when generating again theyarn.lock
file)It seems this patch release break the API, and the line
jupyterlab/packages/markedparser-extension/src/index.ts
Line 154 in ac8f9e2
cannot be compiled:
Reproduce
Install the main branch of jupyterlab will download the latest release of
marked
.Context
Adding a resolution to the main
package.json
file fixes the issue, but it should probably be fixed in jupyterlab.The text was updated successfully, but these errors were encountered: