fix: Add conversion for old type (#1070)

This commit is contained in:
J M
2022-01-13 13:42:56 -07:00
committed by Aiden McClelland
parent 87f9078b54
commit b1c63aafa7
5 changed files with 87 additions and 8 deletions

View File

@@ -214,7 +214,7 @@ export class LiveApiService extends ApiService {
// package
async getPackageProperties (params: RR.GetPackagePropertiesReq): Promise<RR.GetPackagePropertiesRes < any > ['data'] > {
async getPackageProperties (params: RR.GetPackagePropertiesReq): Promise<RR.GetPackagePropertiesRes < 2 > ['data'] > {
return this.http.rpcRequest({ method: 'package.properties', params })
.then(parsePropertiesPermissive)
}