-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Packages: Add and check types #20669
Conversation
Size Change: +6.96 kB (0%) Total Size: 866 kB
ℹ️ View Unchanged
|
d0f8d30
to
106e302
Compare
449bb18
to
89a0540
Compare
2188f57
to
759e5a3
Compare
759e5a3
to
adaacd1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Nice work!
@sirreal what's the plan for the definitelytyped types? Are you planning on deprecating the definitions for these packages after this is merged? |
Yes, as packages are published with included types I'd expect to start removing the DT types. |
Description
Type:
@wordpress/autop
@wordpress/escape-html
@wordpress/html-entities
✅
Depends on #18942 (set as merge base)Part of #18838
How has this been tested?
The following runs without errors:
Declaration files are output to each packages'
build-types
directory.Types of changes
New feature: Publish TypeScript type declarations.
Checklist: