sindresorhus/type-fest

`ConditionalSimplifyDeep` is not exported from root

Open

#761 aperta il 17 nov 2023

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

Metriche repository

Star
 (12.328 star)
Metriche merge PR
 (Merge medio 4g 18h) (9 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