sindresorhus/
A collection of essential TypeScript types
USD raised
Recent activities
SetOptionalDeep
enchance `leavesOnly: true` for nullable fields (need append option for Paths util type)
option for skip array | tupple | optional keys in paths.d.ts
Make `CamelCasedPropertiesDeep` preserve leading underscores
Flash usdt online
Consider `UnwrapPartial<T>` as a way to revert the `Partial<T>` modifier
Is it safe to use these types instead of the built-in ones everywhere?
`Nullish`/`Nilable` type (like `Partial`, but accepts null)
Add a floating point type perhaps? (Ducks and runs away)
Consider adopting npm trusted publishing
New exports in v5.0.1 are not exported from original source files
Strict `EventTarget`
`KebabCasedProperties`: Align behavior with Lodash
JSON Pointer for a typescript type
`PackageJsonStandard.engines` should use `LiteralUnion` to improve IDE autocomplete
PickDeep does not pick types unioned to object or arrays
PickDeep merge picked arrays instead of picked array items
`Get<Data, 'list[1].key'>` not work, The array index being greater than zero causes it not to work.
improve WritableKeysOf and reduce boilerplate for common use cases
IsStringLiteral dont working with generics in functions
TaggedUnion cannot be used in the manner described in the documentation
MergeDeep loses subentries in case of optional object entries
Possible incorrect behavior of 'GET<>'
`ScreamingSnakeCasedProperties` and `ScreamingSnakeCasedPropertiesDeep`
MergeDeep with `recurseIntoArrays` cannot merge an array from source into target when target array is empty
Bug ConditionalPick
Paths should handle Record types with arbitrary string keys
Proposal: Introduce higher-kinded types for `ArrayMap` and `ArrayReduce` transformations
`ArrayFilter` & `ObjectFilter` types
`SimplifyUnion`
`XO`: Unable to add `Comments` in generic types arguments
Remove redundant code for compatibility with older versions of typescript
PartialDeep causes a type derivation error
v6
Infer Jsonify get never for nested object
Compatibility with JSR
Create `OverridePropertiesDeep` type
Keys of PartialDeep<T> are not keys of T
Support null in Get
`EmptyObject`'s use of non-exported symbol declaration causes TypeScript errors in monorepo environment with project references
ArraySlice not working for optional elements
Should `Promisable` also include `Promise<T>`?
Union to Enum
Proposal: JsonifiableValidate
Proposal: `Flat` (equivalent to `Array.prototype.flat()`)
Remove `Opaque`
`PartialDeep` breaks generics
F
Extend Jsonify type to handle Tagged types
`Get<Paths<T>>` fails when T has no properties that are known at compile time
Proposal: DeepPartialDiff
Use `number` for array indexes in `ToPath`
Proposal: Predicate inferer
JsonifiableObject & JsonifiableArray
IsBivariant
Proposal: Thunkable - a direct value or function which returns that value
`OverrideProperties` and `Merge` don't retain callable aspect of type
Proposal: ReadonlyDate
Key Inference for `Merge` and `MergeDeep`
Can i use GreaterThan as parameter type?
Performance regression in Get<>
Feature request: `OptionalToExplicit` (transform optional properties to required properties that may be undefined)
Is there a type to merge value of a `Record` where each value is an object
Feature request: `KeysMatching` (filtered `keyof`)
MergeDeep takes type of property of source instead of using the destination type in case of undefined value
`EmptyArray` type
Feat: Include types to remove null/undefined/optionals from a tuple
~àžàžčàžȘàž]] àžàžŁàžàž”àž§àž±àž (EP.1) àžàžàžàžàž”àč 1 HD àčàžàčàžĄ àčàžŁàž·àčàžàž àžàžčàžąàčàžàžàž«àž„àž±àž àžàžčàž„àž°àžàžŁàčàžàžą (àžàžàžàčàžŁàž) àžàžčàžàžŁàž”!
Type `{}` is not assignable to type `PartialDeep<T>`
`LiteralList<Union>`
`PartialDeep` doesn't work with arrays
`PickDeep` strips `null`
PositiveIntegerString type
A type util to produce an alternation of function overloads.
DistributedOmit may not need to constraint the second type argument
`Paths` is unable to escape dots in property names
`Proposal`: add option with exclude/keep specified type on deep type
Use `NoInfer`?
ReadonlyDeep: add test for function or method returning an object?
Questions about the types located in the file `/source/basic.d.ts`
Proposal: `ValueOfDeep<Type, 'key.deepKey'>`
`NonEmptyObject` fails for objects with dynamic properties
`JsonValue` can receive `type` but not `interface`
Update Merge type to accept N type arguments
Weird bug report - RangeError: Maximum call stack size exceeded when building
Weekdays include weekends
Add ConditionalKeys variation where Condition matches any in a union rather than all
Enforce Casing
Nested structure without index signature is not assignable to `Jsonifiable`
Proposal: `PickNonNever<Type>`
`ConditionalSimplifyDeep` is not exported from root
Audit all types for whether they need `readonly` modifier
`PartialDeep` make `Date` internal structure partial
Writable doesn't only strip readonly from the keys
`PartialOnUndefined` with only 1 level deep
Creating an exhaustive array from a union type
Proposal: Jsonifiable<OrType = never>
Label<Type, Token>
[FR] SetNullable
RecordToMap type
Opposite of Simplify?
MemberOfUnion
`JsonObject` not limit object keys type
Expose more internal types
Jsonify makes Record<string, any> disappear
Check if we need to reduce "excessively deep error" on WritableDeep too
`Destructurable` type
Proposal: `TupleOf`
PartialDeep should skip HTMLCanvasElement
`Entries` don't works like `ObjectEntries`
Proposal: `RecordOf`
Utility Type Request: DeepUndefinedToNull
`Immutable` type
`Indices` type
`FlattenedRecordDeep` type
KeysOfType
OrderedKeysOf and OrderedValuesOf
Would be good to have DeepUndefinable
MergeUnion
Proposal: Modify, a slightly modified version of Merge
Proposal: NullToUndefined and UndefinedToNull
Changes in Except from v3.7.0 generates a huge declaration output truncated by TypeScript v4.9.5
Multi-replace type
Add a `PromisableFields` type
`OverloadParameters` and `OverloadReturnType`
Jsonify breaks down with JsonValue, JsonObject
How do I use ConditionalPickDeep with PartialDeep?
Support variables in Get paths
Tuple alias for FixedLengthArray
3.5.4 breaks Array.isArray on JsonValue through #549
PackageJson type: Scripts can't be assigned
IndexOf - Find the index of a type in a tuple
`UnionToArray` type
Proposal: Merge Compatible Deep
Proposal: DiscriminateUnion
Proposal: URL Pattern API
`PartialDeep`: recurse into objects in array without changing the array itself
`KebabCase` and `SnakeCase` insert additional delimiters when there is an Uppercase character after a `WordSeparator`
Require parameters in functions
A bug with Exact<>, optional fields, and classes
Rename `ReadonlyDeep` to `Immutable`
`MinimumN` type
`type ExtendsFrom<Type, Subtype extends Parent> = Subtype;`
type-fest@3 - How to declare optional properties in JsonObject?
Proposal Inferred Partial type
OmitValues type
Proposal: `readme.md` builder with examples links to TS Playground
ParseInteger and ParseBoolean
Proposal: `PropagateNever`
Add `Not<string, 'not me'>`
Trim but with characters other than whitespace
`NaN` problems
`JsonValue` should be super set of `PackageJson`
Add `Truthy` and `Falsy` types
Add `Set` type
ValueType
Add `ArrayAt` type for stricter `Array.prototype.at()` with tuples
MergeExclusive with more than two types
MaybeUndefined (Partial - but with required properties)
snakeCasedProperties and camelCasedProperties have different behaviours when parsing numbers
Add an IfElse type as ternary expression alternative
Improve `Opaque` type to encapsulate unique symbol tag
Stricter `FixedLengthArray`
Discussion/proposal: better typed decorators
`RequireAtLeastOne`: Type does not narrow as expected
Add `Passthrough` type
`keyof` for Map
SnakeCaseProperties doesn't handle PascalCase and UPPERCASE
Proposal: PickOptionalKeys
Support array for `Writable` type?
Add IsUnion<T>
[Proposal] Tagged Union To Intersection
Improve `Simplify` type?
Rename `SetOptional` and `SetRequired`?
`SetRequired` should return the original class type, plus the required keys
SetRequired unable to infer type
Proposal: `AsyncFunction`
PartialDeep to allow overriding Object prototype properties
Proposal: `PlainObject`
Documentation improvement request: Merge versus intersection
Optional Values of Type
Add links to try them in the TypeScript Playground
Proposal: FlipOptional
Proposal: Partial/Complete (curry)
Add `Optional` type
Add `bigint` primitive
Add `RequireOnlyOne` type
Possible improvement of Omit
PackageJson - recommendation for extending the interface
How to use `JsonObject`?
Improve documentation and tests
Add `Diff` and `Spread` types
Add `JustProps` and `JustMethods` types
© 2019 BoostIO, Inc.