Skip to content

Commit 73718f6

Browse files
committed
fix: Types incorrectly marked as non-optional
1 parent 680cd3f commit 73718f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ type Options = {
1717
export default function register(
1818
Component: AnyComponent,
1919
tagName: string,
20-
propNames: string[],
21-
options: Options,
20+
propNames?: string[],
21+
options?: Options,
2222
): void;

0 commit comments

Comments
 (0)