diff --git a/.changeset/moody-islands-buy.md b/.changeset/moody-islands-buy.md new file mode 100644 index 00000000..2626dc63 --- /dev/null +++ b/.changeset/moody-islands-buy.md @@ -0,0 +1,5 @@ +--- +'preact-iso': patch +--- + +Changed RoutableProps definition to fix a type error in preact, caused by namespace declaration merging. diff --git a/packages/preact-iso/router.d.ts b/packages/preact-iso/router.d.ts index ba38ef30..585edb49 100644 --- a/packages/preact-iso/router.d.ts +++ b/packages/preact-iso/router.d.ts @@ -25,7 +25,6 @@ export const useRoute: () => { interface RoutableProps { path?: string; - default?: boolean; } export interface RouteProps extends RoutableProps {