From de0d0db79de20200e540fd8acbb9602e94fafbf5 Mon Sep 17 00:00:00 2001 From: Patrick Pircher Date: Sun, 7 Jul 2024 16:48:31 +0200 Subject: [PATCH] fix typing (#79) * fix type * fix type * rm this * fix --- ember-routable-component/src/index.ts | 7 ++++--- test-app/app/templates/application.hbs | 2 -- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ember-routable-component/src/index.ts b/ember-routable-component/src/index.ts index d440c0f..c1f2b81 100644 --- a/ember-routable-component/src/index.ts +++ b/ember-routable-component/src/index.ts @@ -55,8 +55,9 @@ export default function RoutableComponentRoute(Component: any) { }; } -export class RoutableComponent extends Component< - GetSignature -> {} +// eslint-disable-next-line @typescript-eslint/no-unused-vars +export interface RoutableComponent {} +// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging +export class RoutableComponent extends Component> {} export type RTOC = TemplateOnlyComponent>; diff --git a/test-app/app/templates/application.hbs b/test-app/app/templates/application.hbs index 369ef22..f8bc38e 100644 --- a/test-app/app/templates/application.hbs +++ b/test-app/app/templates/application.hbs @@ -1,5 +1,3 @@ -{{page-title "TestApp"}} -

Welcome to Ember

{{outlet}}