Skip to content

Commit 645325d

Browse files
committed
chore: exclude void type
1 parent 3b7d9be commit 645325d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface IHandler {
2020
(code: string, options: IHandlerOptions): IHandlerTransformResult
2121
}
2222

23-
export type IHandlerTransformResult = Exclude<TransformResult, null | undefined | string>
23+
export type IHandlerTransformResult = Exclude<TransformResult, null | undefined | string | void>
2424

2525
export interface IHandlerOptions {
2626
ctx: Context

0 commit comments

Comments
 (0)