sindresorhus/type-fest

`ConditionalSimplifyDeep` is not exported from root

Aperta

#761 aperta il 17 nov 2023

 (1 commento) (0 reazioni) (0 assegnatari)TypeScript (471 fork)batch import
help wantedtype addition

Metriche repository

Star
 (12.328 stelle)
Metriche merge PR
 (Merge medio 3g 5h) (11 PR mergiate in 30 g)

Descrizione

If I want to import ConditionalSimplifyDeep I have to do:

import { ConditionalSimplifyDeep } from 'type-fest/source/conditional-simplify'

Because ConditionalSimplifyDeep is not imported from the root project. If you try to do:

import { ConditionalSimplifyDeep } from 'type-fest'

You will get the following error:

'"type-fest"' has no exported member named 'ConditionalSimplifyDeep'. Did you mean 'ConditionalPickDeep'?

Guida contributor