Skip to content

✅ Compilation against old releases of TypeScript #661

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

Merged
merged 15 commits into from
Jun 30, 2020
Merged

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Jun 29, 2020

Why is this PR for?

Prevent unwanted breaking changes causing older and supported versions of TypeScript not to compile anymore.

Introducing a regression in typings that prevents older versions of TypeScript to to compile properly is too easy. For instance a lib exporting one function containing unknown will automatically breaks any users that rely on TypeScript < 3.0 even if they do not use this function at all. This commit ensures that such regression would be detected earlier in the development process.

Users of fast-check should not be forced to toggle skipLibCheck to use it. fast-check should compile without this trick.

In a nutshell

❌ New feature
❌ Fix an issue
❌ Documentation improvement
✔️ Other: ci - non regression test

(✔️: yes, ❌: no)

Potential impacts

None

dubzzz added 2 commits June 30, 2020 00:08
Prevent unwanted breaking changes causing older (and supported) versions of TypeScript not to compile anymore.
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 29, 2020

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 edfd181:

Sandbox Source
flamboyant-mcclintock-mex9f Configuration

@coveralls
Copy link

coveralls commented Jun 29, 2020

Coverage Status

Coverage remained the same at 95.812% when pulling edfd181 on build/legacy-ts into 4c84c3c on master.

dubzzz added 12 commits June 30, 2020 09:08

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@dubzzz dubzzz merged commit c5b9059 into master Jun 30, 2020
@dubzzz dubzzz deleted the build/legacy-ts branch June 30, 2020 19:02
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