lint

上级 75512017
......@@ -174,7 +174,7 @@ export class AppService {
* @param inputs Properties to be assigned on the new tab component instance
*/
openNewTab <T extends BaseTabComponent> (params: NewTabParameters<T>): T {
if (params.type === SplitTabComponent) {
if (params.type as any === SplitTabComponent) {
return this.openNewTabRaw(params)
}
const splitTab = this.tabsService.create({ type: SplitTabComponent })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册