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 Parameters

Type declaration

    • (error?, tree?, file?): undefined
    • Parameters

      Returns undefined