Skip to content

Commit 17df387

Browse files
authored
fix: Make ActiveState.key a required property (#92)
1 parent 147f0a7 commit 17df387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ export type ActiveState = {
302302
/**
303303
* Sets the route key that the link will use to determine if it should render as active.
304304
*/
305-
key?: string;
305+
key: string;
306306
/**
307307
* Sets the class or classes that the link will use when rendering as active.
308308
*

0 commit comments

Comments
 (0)