Skip to content

refactor: adjust to TS4.7#968

Merged
ph-fritsche merged 2 commits intomainfrom
refactor
Jun 9, 2022
Merged

refactor: adjust to TS4.7#968
ph-fritsche merged 2 commits intomainfrom
refactor

Conversation

@ph-fritsche
Copy link
Copy Markdown
Member

What:

Typescript 4.7 infers some types correctly which removed the need for type assertions.
It also throws an error for uninitialized properties on a class. Now the property is assigned after constructing the object.

Why:

Upgraded dependencies including [email protected]

Checklist:

  • Tests
  • Ready to be merged

@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci Bot commented Jun 9, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit bf872cb:

Sandbox Source
userEvent-dom Configuration
userEvent-react Configuration

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 9, 2022

Codecov Report

Merging #968 (bf872cb) into main (8215e2e) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #968   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           85        85           
  Lines         1822      1820    -2     
  Branches       667       667           
=========================================
- Hits          1822      1820    -2     
Impacted Files Coverage Δ
src/document/selection.ts 100.00% <100.00%> (ø)
src/utils/dataTransfer/Clipboard.ts 100.00% <100.00%> (ø)
src/utils/misc/level.ts 100.00% <100.00%> (ø)

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 8215e2e...bf872cb. Read the comment docs.

@ph-fritsche ph-fritsche merged commit 9dd3985 into main Jun 9, 2022
@ph-fritsche ph-fritsche deleted the refactor branch June 9, 2022 07:05
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 14.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant