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

add missing Type for applyDefaults #14159

Merged
merged 3 commits into from Dec 7, 2023
Merged

Conversation

jaypea
Copy link
Contributor

@jaypea jaypea commented Dec 6, 2023

Summary
The Typescript types definition file is missing a definition for applyDefaults() in Model Interface.

Examples

Error was

TS2339: Property 'applyDefaults' does not exist on type 'Model<Item, {}, {}, {}, any>'.

types/models.d.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@vkarpov15 vkarpov15 added this to the 8.0.3 milestone Dec 7, 2023
@vkarpov15 vkarpov15 merged commit e3a35c2 into Automattic:master Dec 7, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants