Skip to content

Commit

Permalink
fix type (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx authored Jul 5, 2024
1 parent 1757216 commit df3152e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ember-routable-component/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ export default function RoutableComponentRoute<T>(
): typeof Route<GetModel<T>>;

export default function RoutableComponentRoute(
component: Component,
component: typeof Component<any>,
): typeof Route<any>;

export default function RoutableComponentRoute(
component: TemplateOnlyComponent,
component: TemplateOnlyComponent<any>,
): typeof Route<any>;

export default function RoutableComponentRoute(Component: any) {
Expand Down

0 comments on commit df3152e

Please sign in to comment.