Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model countryAuthorization.AuthorizationData has an untyped property #331

Open
belinde opened this issue Aug 25, 2022 · 1 comment
Open

Comments

@belinde
Copy link

belinde commented Aug 25, 2022

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
Copy link
Author

belinde commented Oct 13, 2022

Any update on this issue? I cannot upgrade the library due to this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant