does unified@10 intentionally disallow Promise<void>
as plugin return type?
#155
Answered
by
wooorm
stefanprobst
asked this question in
Q&A
-
it looks like the new import {unified} from 'unified'
const processor = unified().use(() => {
return transformer
async function transformer() {
// noop
return undefined // <-- required
}
}) |
Beta Was this translation helpful? Give feedback.
Answered by
wooorm
Jul 21, 2021
Replies: 1 comment
-
Good catch. Landed: 591b0c0. And released! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wooorm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good catch. Landed: 591b0c0. And released!