TransformCallback<
Output
>: (error
?,tree
?,file
?) =>undefined
Callback passed to transforms.
If the signature of a transformer
accepts a third argument, the
transformer may perform asynchronous operations, and must call it.
Type Parameter | Default type |
---|---|
Output extends ../../node_modules/@types/unist | ../../node_modules/@types/unist |
Parameter | Type |
---|---|
error ? | Error |
tree ? | Output |
file ? | VFile |
undefined
node_modules/unified/lib/index.d.ts:989