mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-29 15:59:54 +00:00
lint
This commit is contained in:
parent
7551201796
commit
98e52f50a9
@ -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 })
|
||||
|
Loading…
x
Reference in New Issue
Block a user