nip96: type fix.

This commit is contained in:
fiatjaf
2024-01-24 12:04:54 -03:00
parent e36ea11f41
commit 16cdf40112
2 changed files with 2 additions and 2 deletions

View File

@@ -242,7 +242,7 @@ export async function readServerConfig(serverUrl: string): Promise<ServerConfigu
throw new Error(`Error fetching ${fetchUrl}: ${response.statusText}`) throw new Error(`Error fetching ${fetchUrl}: ${response.statusText}`)
} }
const data = await response.json() const data: any = await response.json()
if (!data) { if (!data) {
throw new Error('No data') throw new Error('No data')

View File

@@ -220,6 +220,6 @@
"typescript": "^5.0.4" "typescript": "^5.0.4"
}, },
"scripts": { "scripts": {
"prepublish": "just build && just emit-types" "prepublish": "just build"
} }
} }