Skip to content

Commit de0d0db

Browse files
authored
fix typing (#79)
* fix type * fix type * rm this * fix
1 parent b44a0bd commit de0d0db

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

ember-routable-component/src/index.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ export default function RoutableComponentRoute(Component: any) {
5555
};
5656
}
5757

58-
export class RoutableComponent<T = unknown> extends Component<
59-
GetSignature<T>
60-
> {}
58+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
59+
export interface RoutableComponent<T = unknown> {}
60+
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
61+
export class RoutableComponent<T> extends Component<GetSignature<T>> {}
6162

6263
export type RTOC<T> = TemplateOnlyComponent<GetSignature<T>>;
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{{page-title "TestApp"}}
2-
31
<h2 id="title">Welcome to Ember</h2>
42

53
{{outlet}}

0 commit comments

Comments
 (0)