sindresorhus/type-fest

`ConditionalSimplifyDeep` is not exported from root

Open

#761 ouverte le 17 nov. 2023

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)TypeScript (12 328 stars) (471 forks)batch import
help wantedtype addition

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