导出支持收缩的"infer"类别别名

作者: YourFin创建于 2025年8月7日更新于 2025年8月7日
标签enhancement

However, I cannot get the partitioned arrays to have the correct type via `ts-pattern`'s available exports. If I use `P.narrow<OriginalT, typeof Pattern>`, it correctly handles the type in cases like:

内容来源: gvergnaud/ts-pattern