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

transformToJson does not have proper return type #15

Closed
Simply007 opened this issue Apr 21, 2023 · 1 comment
Closed

transformToJson does not have proper return type #15

Simply007 opened this issue Apr 21, 2023 · 1 comment

Comments

@Simply007
Copy link
Contributor

Brief bug description

transformToJson shows return type unknown[].

export declare const transformToJson: (result: IOutputResult, customResolvers?: CustomResolversType) => unknown[];

Repro steps

See kontent-ai/sample-app-react#224 (CI run: https://github.com/kontent-ai/sample-app-react/actions/runs/4762927863/jobs/8465735530?pr=224)

Expected behavior

No TS issues

@Simply007
Copy link
Contributor Author

Sorry - used different method.

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