wip: migrate to typescript

This commit is contained in:
reya
2024-12-22 08:25:14 +07:00
parent a1d87bcd74
commit db9e0b43e5
9 changed files with 303 additions and 153 deletions

7
extension/global.d.ts vendored Normal file
View File

@@ -0,0 +1,7 @@
import type { WindowNostr } from "nostr-tools/nip07";
declare global {
interface Window {
nostr?: WindowNostr;
}
}