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

[Doc] Document type parameter in generic hooks #8916

Merged
merged 13 commits into from
May 17, 2023
Merged

Conversation

djhi
Copy link
Contributor

@djhi djhi commented May 16, 2023

No description provided.

docs/js/prism.js Fixed Show fixed Hide fixed
docs/css/prism.css Show resolved Hide resolved
docs/css/prism.css Show resolved Hide resolved
docs/js/prism.js Show resolved Hide resolved
docs/useGetList.md Outdated Show resolved Hide resolved
docs/useGetList.md Show resolved Hide resolved
// record is of type Post
const record = useRecordContext<Post>();
// data is of type Tag[]
const { data, isLoading, error } = useGetMany(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing type here?

docs/useGetList.md Outdated Show resolved Hide resolved
Copy link
Member

@fzaninotto fzaninotto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent!

docs/useDataProvider.md Outdated Show resolved Hide resolved
docs/useGetMany.md Outdated Show resolved Hide resolved
docs/useGetMany.md Outdated Show resolved Hide resolved
docs/useGetManyReference.md Outdated Show resolved Hide resolved
docs/useGetOne.md Outdated Show resolved Hide resolved
docs/useGetOneLive.md Outdated Show resolved Hide resolved
@fzaninotto fzaninotto merged commit e7bde0a into master May 17, 2023
3 checks passed
@fzaninotto fzaninotto deleted the typescript-doc branch May 17, 2023 14:18
@fzaninotto fzaninotto added this to the 4.10.4 milestone May 17, 2023
@fzaninotto fzaninotto changed the title Typescript documentation [Doc] Document type parameter in generic hooks May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants