sindresorhus/type-fest

`ConditionalSimplifyDeep` is not exported from root

Ouverte

#761 ouverte le 17 nov. 2023

 (1 commentaire) (0 réaction) (0 personne assignée)TypeScript (471 forks)batch import
help wantedtype addition

Métriques du dépôt

Stars
 (12 328 étoiles)
Métriques de merge PR
 (Merge moyen 3j 5h) (11 PRs mergées en 30 j)

Description

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'?

Guide contributeur