15 lines
307 B
TypeScript
15 lines
307 B
TypeScript
import type { BaseExtension, ExtensionTypeEnum } from '@janhq/core'
|
|
|
|
declare global {
|
|
interface Window {
|
|
core?: {
|
|
extensionManager: {
|
|
get<T = BaseExtension>(type: ExtensionTypeEnum): T | undefined
|
|
getByName(name: string): BaseExtension | undefined
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
export {}
|