Skip to content

Commit ee00073

Browse files
Update packages/babel/types/index.d.ts
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
1 parent 204c3db commit ee00073

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/babel/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface RollupBabelInputPluginOptions
2323
* const filter = createFilter(include, exclude, {});
2424
* @default undefined;
2525
*/
26-
filter?: (id: string, code: string) => Promise<boolean>;
26+
filter?: (id: string, code: string) => Promise<boolean> | boolean;
2727
/**
2828
* An array of file extensions that Babel should transpile. If you want to transpile TypeScript files with this plugin it's essential to include .ts and .tsx in this option.
2929
* @default ['.js', '.jsx', '.es6', '.es', '.mjs']

0 commit comments

Comments
 (0)