We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pix-utils/src/types/pixFunctions.ts
Line 14 in 6279dd0
esta interface nao deve ser usada como esta, o correto seria utilizar o codigo importado de dynamicPayload =>
// PIXFetchParams adicionado na linha abaixo import { PIXFetchResults, PIXFetchParams } from '../dynamicPayload'; import { PixDynamicObject, PixStaticObject } from './pixElements'; import { PixError } from './pixError'; export interface PixFnDefault { readonly toBRCode: () => string; readonly toImage: () => Promise<string>; } export interface PixStaticFn extends PixFnDefault { readonly throwIfError: () => PixStaticObject; } export interface PixDynamicFn extends PixFnDefault { // trocado abaixo por PIXFetchParams readonly fetchPayload: (params: PIXFetchParams) => Promise<PIXFetchResults | PixError>; readonly throwIfError: () => PixDynamicObject; } export {};
The text was updated successfully, but these errors were encountered:
@coelho-faminto sinta-se a vontade para encaminhar um PR com sugestões, obrigado.
Sorry, something went wrong.
No branches or pull requests
pix-utils/src/types/pixFunctions.ts
Line 14 in 6279dd0
esta interface nao deve ser usada como esta, o correto seria utilizar o codigo importado de dynamicPayload =>
The text was updated successfully, but these errors were encountered: