Wasm: add explicit type to i

This commit is contained in:
Alex Gleason
2024-03-18 13:04:21 -05:00
parent 9f8b7274b3
commit 747a7944d7

View File

@@ -30,7 +30,7 @@ class Wasm implements Nostr {
}
}
const i = new Wasm()
const i: Wasm = new Wasm()
export const generateSecretKey = i.generateSecretKey
export const getPublicKey = i.getPublicKey
export const finalizeEvent = i.finalizeEvent