Skip to content

feat(typescript): support typescript version to v4.2.3#1099

Merged
mlaursen merged 2 commits intomainfrom
feature/support-typescript-2.4.3
Apr 14, 2021
Merged

feat(typescript): support typescript version to v4.2.3#1099
mlaursen merged 2 commits intomainfrom
feature/support-typescript-2.4.3

Conversation

@mlaursen
Copy link
Owner

@mlaursen mlaursen commented Apr 1, 2021

This might be a breaking change for typescript consumers since they might also need to update their typescript version to v4.2.3 or whatever version added the type definitions for ResizeObserver.

This also changed the resize-observer-polyfill dependency to @juggle/resize-observer since resize-observer-polyfill hasn't been updated since 2018 and the type definitions cause issues with the lib.d.ts definitions now provided for the ResizeObserver.

This _might_ be a breaking change for typescript consumers since they
might also need to update their typescript version to v4.2.3 or whatever
version added the type definitions for `ResizeObserver`.

This also changed the `resize-observer-polyfill` dependency to
`@juggle/resize-observer` since `resize-observer-polyfill` hasn't been
updated since 2018 and the type definitions cause issues with the
`lib.d.ts` definitions now provided for the `ResizeObserver`.
@mlaursen mlaursen changed the title feat(typescript): bump typescript version to v4.2.3 feat(typescript): support typescript version to v4.2.3 Apr 14, 2021
@mlaursen mlaursen force-pushed the feature/support-typescript-2.4.3 branch from 1f0c0a6 to 725d1c9 Compare April 14, 2021 14:13
@codecov-io
Copy link

Codecov Report

Merging #1099 (725d1c9) into main (c758982) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1099      +/-   ##
==========================================
+ Coverage   78.58%   78.60%   +0.01%     
==========================================
  Files         327      327              
  Lines        8924     8922       -2     
  Branches     2293     2291       -2     
==========================================
  Hits         7013     7013              
+ Misses       1821     1819       -2     
  Partials       90       90              
Impacted Files Coverage Δ
packages/utils/src/sizing/useResizeObserver.ts 100.00% <100.00%> (ø)
packages/utils/src/sizing/useResizeObserverV1.ts 80.00% <100.00%> (ø)
packages/tree/src/useTreeMovement.ts 21.87% <0.00%> (+0.27%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c758982...725d1c9. Read the comment docs.

@mlaursen mlaursen merged commit 725d1c9 into main Apr 14, 2021
@mlaursen mlaursen deleted the feature/support-typescript-2.4.3 branch April 14, 2021 23:36
@mlaursen mlaursen added this to the v2.8.0 milestone Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants