From 3ec89713bcbb210e80573562a01f44f42acf6c41 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 22 Sep 2025 02:01:59 -0500 Subject: [PATCH] Fix tests --- .gitlab-ci.yml | 2 ++ src/types/nostr.d.ts | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 src/types/nostr.d.ts diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 14b7efa7..4cc9481a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,8 @@ stages: test: stage: test script: + - npm run typecheck + - npm run build - npm run test pages: diff --git a/src/types/nostr.d.ts b/src/types/nostr.d.ts new file mode 100644 index 00000000..3128b961 --- /dev/null +++ b/src/types/nostr.d.ts @@ -0,0 +1,9 @@ +import type { NostrSigner } from '@nostrify/nostrify'; + +declare global { + interface Window { + nostr?: NostrSigner; + } +} + +export {}; \ No newline at end of file