diff --git a/src/js/templates/floating-close-button.ts b/src/js/templates/floating-close-button.ts index 29b5bd58f0..f663f2fdd9 100644 --- a/src/js/templates/floating-close-button.ts +++ b/src/js/templates/floating-close-button.ts @@ -1,4 +1,4 @@ -import { HTMLTemplateString } from 'types/generic.type'; +import type { HTMLTemplateString } from 'types/generic.type'; export default (ariaLabel: string): HTMLTemplateString => { return ( diff --git a/src/js/templates/logo.ts b/src/js/templates/logo.ts index 047a69c9eb..0da55365f9 100644 --- a/src/js/templates/logo.ts +++ b/src/js/templates/logo.ts @@ -1,4 +1,4 @@ -import { HTMLTemplateString } from '../types/generic.type'; +import type { HTMLTemplateString } from '../types/generic.type'; export default (position: string, hide: boolean): HTMLTemplateString => { const jwhide = hide ? ' jw-hide' : ''; diff --git a/src/js/utils/clock.ts b/src/js/utils/clock.ts index 4924035aee..e629137f7a 100644 --- a/src/js/utils/clock.ts +++ b/src/js/utils/clock.ts @@ -1,5 +1,5 @@ import { now as getTime } from 'utils/date'; -import { GenericObject } from '../types/generic.type'; +import type { GenericObject } from '../types/generic.type'; const performance: Performance | GenericObject = window.performance || { timing: {}