diff --git a/tabby-core/src/services/app.service.ts b/tabby-core/src/services/app.service.ts index 4dafa922..b0c4d927 100644 --- a/tabby-core/src/services/app.service.ts +++ b/tabby-core/src/services/app.service.ts @@ -174,7 +174,7 @@ export class AppService { * @param inputs Properties to be assigned on the new tab component instance */ openNewTab (params: NewTabParameters): T { - if (params.type === SplitTabComponent) { + if (params.type as any === SplitTabComponent) { return this.openNewTabRaw(params) } const splitTab = this.tabsService.create({ type: SplitTabComponent })