Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use
Marked version: 3.x.x
Describe the bug A clear and concise description of what the bug is.
Right now, import {use} from "markedjs" does not work, this worked in 2.x.x.
import {use} from "markedjs"
To Reproduce Steps to reproduce the behavior:
Install & import it. The DefinitelyTyped definitions also mark this incorrectly as being supported still.
DefinitelyTyped
A workaround is importing one of the structures that use is defined on like parse and calling parse.use(). This seems convoluted.
parse
parse.use()
Expected behavior A clear and concise description of what you expected to happen.
use should be exported so we can import it directly.
The text was updated successfully, but these errors were encountered:
This would be fixed by https://github.com/markedjs/marked/pull/2227/files#diff-a1f849ecb1b5f277935b6443d357e81407d4f53e94dce3668115a64a33b8ef91R10 if we merge that PR
Marked version:
3.x.x
Describe the bug
A clear and concise description of what the bug is.
Right now,
import {use} from "markedjs"does not work, this worked in 2.x.x.To Reproduce
Steps to reproduce the behavior:
Install & import it.
The
DefinitelyTypeddefinitions also mark this incorrectly as being supported still.A workaround is importing one of the structures that
useis defined on likeparseand callingparse.use(). This seems convoluted.Expected behavior
A clear and concise description of what you expected to happen.
useshould be exported so we can import it directly.The text was updated successfully, but these errors were encountered: