diff --git a/changelog/0.26.2.md b/changelog/0.26.2.md index 4e046809f..052f4bd7d 100644 --- a/changelog/0.26.2.md +++ b/changelog/0.26.2.md @@ -32,7 +32,7 @@ As such, 0.26.2 reverts back to the 0.25.0 interpretation, but applies type mapp { // evaluation case 4: all optional type T = { a?: number } & { a?: number } - type C = {[K in keyof T]: T[K] } // type C = { a: number | undefined } + type C = {[K in keyof T]: T[K] } // type C = { a?: number | undefined } } ``` -Note: the Type.Composite is intended to be a temporary type which can be replaced with a more general `Type.Mapped` in future revisions of TypeBox. As the infrastructure to support mapped types does not exist, users can use Type.Composite to partially replicate mapped type evaluation for composited object types only. \ No newline at end of file +Note: the Type.Composite is intended to be a temporary type which can be replaced with a more general `Type.Mapped` in future revisions of TypeBox. As the infrastructure to support mapped types does not exist, users can use Type.Composite to partially replicate mapped type evaluation for composited object types only.