Skip to content

Commit 44ae5b4

Browse files
authored
feat: support optional options (#44)
1 parent 5ec1fcb commit 44ae5b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
resolveOption,
77
} from './core/options'
88

9-
export default createUnplugin<Options>((userOptions = {}) => {
9+
export default createUnplugin<Options | undefined>((userOptions = {}) => {
1010
let options: OptionsResolved
1111
let filter: (id: unknown) => boolean
1212

0 commit comments

Comments
 (0)