Skip to content

Commit a6b2ddd

Browse files
committed
Update types
1 parent 19e4dda commit a6b2ddd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/index.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
declare function plugin(options?: { strategy?: 'base' | 'class' }): Function
1+
declare function plugin(options?: Partial<{ strategy: 'base' | 'class' }>): { handler: () => void }
2+
3+
declare namespace plugin {
4+
const __isOptionsFunction: true
5+
}
6+
27
export = plugin

0 commit comments

Comments
 (0)