nip96: type fix.

This commit is contained in:
fiatjaf 2024-01-24 12:04:54 -03:00
parent e36ea11f41
commit 16cdf40112
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1
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}`)
}
const data = await response.json()
const data: any = await response.json()
if (!data) {
throw new Error('No data')

View File

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