Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

fix: error on imports from 'tsd' package #327

Merged
merged 2 commits into from Jun 18, 2023
Merged

Conversation

mrazauskas
Copy link
Owner

This was overlooked in the initial release. 'tsd-lite' must throw if an import from 'tsd' package is encountered, because:

  1. The typings and shape of testing APIs differ between the packages.
  2. The APIs of 'tsd-lite' do not suffer from bug like expectType generic causes incorrect inference tsdjs/tsd#142.
  3. 'tsd-lite' does not ship '@tsd/typescript' which is installed by 'tsd', but that is useless waste of disk space.

@mrazauskas mrazauskas merged commit f70a73c into main Jun 18, 2023
8 checks passed
@mrazauskas mrazauskas deleted the fix-error-on-'tsd'-imports branch June 18, 2023 09:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant