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

fix: load only specified typings for TypeScript #14808

Merged

Conversation

filipsobol
Copy link
Member

@filipsobol filipsobol commented Aug 17, 2023

Suggested merge commit message (convention)

Fix: Don't rely on global object available only in Node. Fixes ckeditor/vite-plugin-ckeditor5#17 and #14801.

Internal: Load only specified typings for TypeScript. Closes #14173.

Copy link
Contributor

@arkflpc arkflpc left a comment

Choose a reason for hiding this comment

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

LGTM. However, I'd seek approval from @ckeditor/ckeditor-5-devops team as well.

Copy link
Member

@pomek pomek left a comment

Choose a reason for hiding this comment

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

LGTM.

I like the proposed empty array as it still loads needed types, but a developer does not have to remember to add new types when using some external library.

@pomek
Copy link
Member

pomek commented Aug 25, 2023

I believe the proposed message should be Internal, or if it really matters for integrators, Other.

@filipsobol
Copy link
Member Author

I believe the proposed message should be Internal, or if it really matters for integrators, Other.

In the packages/ckeditor5-utils/src/dom/getelementsintersectionrect.ts file we're fixing code error, so I believe that Fix is appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants