diff --git a/scripts/extensions/ai-widget/src/superdesk.ts b/scripts/extensions/ai-widget/src/superdesk.ts index 6c18daf514..d2e323fdf9 100644 --- a/scripts/extensions/ai-widget/src/superdesk.ts +++ b/scripts/extensions/ai-widget/src/superdesk.ts @@ -2,4 +2,4 @@ import {ISuperdesk} from 'superdesk-api'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore -export const superdesk = window['extensionsApiInstances']['ai-widget'] as ISuperdesk; +export const superdesk: ISuperdesk = window['extensionsApiInstances']['ai-widget'] as ISuperdesk; diff --git a/scripts/extensions/auto-tagging-widget/src/superdesk.ts b/scripts/extensions/auto-tagging-widget/src/superdesk.ts index 995ed82ed9..864c13e0fa 100644 --- a/scripts/extensions/auto-tagging-widget/src/superdesk.ts +++ b/scripts/extensions/auto-tagging-widget/src/superdesk.ts @@ -2,4 +2,4 @@ import {ISuperdesk} from 'superdesk-api'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore -export const superdesk = window['extensionsApiInstances']['auto-tagging-widget'] as ISuperdesk; +export const superdesk: ISuperdesk = window['extensionsApiInstances']['auto-tagging-widget'] as ISuperdesk; diff --git a/scripts/extensions/booleanField/src/superdesk.ts b/scripts/extensions/booleanField/src/superdesk.ts index 2f82dfad8f..f2af0fd652 100644 --- a/scripts/extensions/booleanField/src/superdesk.ts +++ b/scripts/extensions/booleanField/src/superdesk.ts @@ -2,4 +2,4 @@ import {ISuperdesk} from 'superdesk-api'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore -export const superdesk = window['extensionsApiInstances']['booleanField'] as ISuperdesk; +export const superdesk: ISuperdesk = window['extensionsApiInstances']['booleanField'] as ISuperdesk; diff --git a/scripts/extensions/broadcasting/src/superdesk.ts b/scripts/extensions/broadcasting/src/superdesk.ts index c5892a5991..940951cbf4 100644 --- a/scripts/extensions/broadcasting/src/superdesk.ts +++ b/scripts/extensions/broadcasting/src/superdesk.ts @@ -2,4 +2,4 @@ import {ISuperdesk} from 'superdesk-api'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore -export const superdesk = window['extensionsApiInstances']['broadcasting'] as ISuperdesk; +export const superdesk: ISuperdesk = window['extensionsApiInstances']['broadcasting'] as ISuperdesk; diff --git a/scripts/extensions/datetimeField/src/superdesk.ts b/scripts/extensions/datetimeField/src/superdesk.ts index cb4e5ec66b..a74b9634ad 100644 --- a/scripts/extensions/datetimeField/src/superdesk.ts +++ b/scripts/extensions/datetimeField/src/superdesk.ts @@ -2,4 +2,4 @@ import {ISuperdesk} from 'superdesk-api'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore -export const superdesk = window['extensionsApiInstances']['datetimeField'] as ISuperdesk; +export const superdesk: ISuperdesk = window['extensionsApiInstances']['datetimeField'] as ISuperdesk; diff --git a/scripts/extensions/helloWorld/src/superdesk.ts b/scripts/extensions/helloWorld/src/superdesk.ts index 1cc89105e1..e29082b291 100644 --- a/scripts/extensions/helloWorld/src/superdesk.ts +++ b/scripts/extensions/helloWorld/src/superdesk.ts @@ -2,4 +2,4 @@ import {ISuperdesk} from 'superdesk-api'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore -export const superdesk = window['extensionsApiInstances']['helloWorld'] as ISuperdesk; +export const superdesk: ISuperdesk = window['extensionsApiInstances']['helloWorld'] as ISuperdesk; diff --git a/scripts/extensions/predefinedTextField/src/superdesk.ts b/scripts/extensions/predefinedTextField/src/superdesk.ts index 9436dcd41e..528b64255b 100644 --- a/scripts/extensions/predefinedTextField/src/superdesk.ts +++ b/scripts/extensions/predefinedTextField/src/superdesk.ts @@ -2,4 +2,4 @@ import {ISuperdesk} from 'superdesk-api'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore -export const superdesk = window['extensionsApiInstances']['predefinedTextField'] as ISuperdesk; +export const superdesk: ISuperdesk = window['extensionsApiInstances']['predefinedTextField'] as ISuperdesk;