Skip to content

transformToJson does not have proper return type #15

@Simply007

Description

@Simply007

Brief bug description

transformToJson shows return type unknown[].

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

Repro steps

See kontent-ai-bot/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions