Skip to content

requestResource return type #488

Closed
Closed
@coffe0wl

Description

@coffe0wl

The documentation(Image1) states that the requestResource method returns the promise but in reality it doesn't(Image2)

Image1

image

Image2

image

Activity

panva

panva commented on Apr 16, 2022

@panva
Owner

It sure does return a Promise, it's an async function.

coffe0wl

coffe0wl commented on Apr 16, 2022

@coffe0wl
Author

Yes, but not in the index.d.ts file
image

panva

panva commented on Apr 16, 2022

@panva
Owner

The documentation states that the requestResource method returns the promise but in reality it doesn't.

That is what I checked.

Would you like to submit a PR to fix the types?

locked and limited conversation to collaborators on Jul 16, 2022
added a commit that references this issue on Nov 28, 2022
8bc9519
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @panva@coffe0wl

        Issue actions

          requestResource return type · Issue #488 · panva/openid-client