sindresorhus/type-fest

`ConditionalSimplifyDeep` is not exported from root

開放

#761 建立於 2023年11月17日

 (1 則留言) (0 個反應) (0 位負責人)TypeScript (471 個分叉)batch import
help wantedtype addition

倉庫指標

星標
 (12,328 顆星)
PR 合併指標
 (平均合併 3天 5小時) (30 天內合併 11 個 PR)

描述

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

貢獻者指南