nip96: type fix.
This commit is contained in:
parent
e36ea11f41
commit
16cdf40112
2
nip96.ts
2
nip96.ts
|
@ -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')
|
||||
|
|
|
@ -220,6 +220,6 @@
|
|||
"typescript": "^5.0.4"
|
||||
},
|
||||
"scripts": {
|
||||
"prepublish": "just build && just emit-types"
|
||||
"prepublish": "just build"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue