soapbox/src/global.d.ts

13 wiersze
323 B
TypeScript

import type { NostrSigner } from '@nostrify/nostrify';
declare global {
interface Window {
nostr?: NostrSigner;
}
// FIXME: Remove this definition if the fix is merged upstream.
// https://github.com/egoist/vite-plugin-compile-time/pull/26
interface ImportMeta {
compileTime: <T>(id: string) => T;
}
}