mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
16 lines
534 B
TypeScript
16 lines
534 B
TypeScript
import type { AttributifyAttributes } from '@unocss/preset-attributify'
|
|
import type { ProtocolWithReturn } from 'webext-bridge'
|
|
|
|
declare module 'webext-bridge' {
|
|
export interface ProtocolMap {
|
|
// define message protocol types
|
|
// see https://github.com/antfu/webext-bridge#type-safe-protocols
|
|
'tab-prev': { title: string | undefined }
|
|
'get-current-tab': ProtocolWithReturn<{ tabId: number }, { title?: string }>
|
|
}
|
|
}
|
|
|
|
declare module '@vue/runtime-dom' {
|
|
interface HTMLAttributes extends AttributifyAttributes {}
|
|
}
|