Model countryAuthorization.AuthorizationData has an untyped property
belinde opened this issue · 1 comments
belinde commented
In file typings/models/countryAuthorization.d.ts
there is an untyped property (currently on line 7):
import { CountryISO } from "../types";
export namespace countryAuthorization {
interface AuthorizationData {
BlockUserCreation: boolean;
BlockBankAccountCreation: boolean;
BlockPayout;
}
interface CountryAuthorizationData {
CountryCode: CountryISO;
CountryName: string;
Authorization: AuthorizationData;
LastUpdate: number;
}
}
Currently, compiling in strict
mode causes an error:
node_modules/mangopay2-nodejs-sdk/typings/models/countryAuthorization.d.ts:7:9 - error TS7008: Member 'BlockPayout' implicitly has an 'any' type.
7 BlockPayout;
~~~~~~~~~~~
Found 1 error in node_modules/mangopay2-nodejs-sdk/typings/models/countryAuthorization.d.ts:7
It seems the CI integration (that I presumed should exist) failed, or at least doesn't run in strict
mode.
belinde commented
Any update on this issue? I cannot upgrade the library due to this