Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update TypeScript types
  • Loading branch information
bradlc committed Sep 2, 2022
commit c910f3598357085aa8c6b9b9db9fc2c59ef08b6e
9 changes: 8 additions & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
declare function plugin(options?: { className?: string, target?: 'modern' | 'legacy' }): Function
declare function plugin(options?: Partial<{ className: string; target: 'modern' | 'legacy' }>): {
handler: () => void
}

declare namespace plugin {
const __isOptionsFunction: true
}

export = plugin