Skip to content

Commit 634ea31

Browse files
committed
Use SkyTabIndex type
1 parent dcab7ac commit 634ea31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/components/text-editor/src/lib/modules/text-editor/url-modal/text-editor-url-modal.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Component } from '@angular/core';
22
import { SkyModalInstance } from '@skyux/modals';
3+
import { SkyTabIndex } from '@skyux/tabs';
34
import { SkyValidation } from '@skyux/validation';
45

56
import { SkyUrlModalContext } from './text-editor-url-modal-context';
@@ -89,7 +90,7 @@ export class SkyTextEditorUrlModalComponent {
8990
}
9091
}
9192

92-
public activeTabChanged(value: string | number): void {
93+
public activeTabChanged(value: SkyTabIndex): void {
9394
this.activeTab = Number(value);
9495
}
9596

0 commit comments

Comments
 (0)