Skip to content

Docs: type of Response missing the second type var #179

Closed
@mattibo

Description

@mattibo

Summary

With the change in #173 the type of response has changed.

The README and the documentation were not updated.

This part

resp: Response[FullRepository] = github.rest.repos.get("owner", "repo")

should look like

resp: Response[FullRepository, FullRepositoryType] = github.rest.repos.get("owner", "repo") 

Affected files

  • README.md
  • docs/usage/rest-api.md
  • docs/usage/unit-test.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions