type-fest 3.5.4 → 3.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "type-fest",
3
- "version": "3.5.4",
3
+ "version": "3.5.6",
4
4
  "description": "A collection of essential TypeScript types",
5
5
  "license": "(MIT OR CC0-1.0)",
6
6
  "repository": "sindresorhus/type-fest",
@@ -240,7 +240,7 @@ declare namespace PackageJson {
240
240
  Import map entries of a module, optionally with conditions.
241
241
  */
242
242
  export type Imports = { // eslint-disable-line @typescript-eslint/consistent-indexed-object-style
243
- [key: `#${string}`]: string | {[key in ExportCondition]: Exports};
243
+ [key: `#${string}`]: string | {[key in ExportCondition]?: Exports};
244
244
  };
245
245
 
246
246
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions
@@ -55,4 +55,4 @@ fn(someInterface as Simplify<SomeInterface>); // Good: transform an `interface`
55
55
 
56
56
  @category Object
57
57
  */
58
- export type Simplify<T> = {[KeyType in keyof T]: T[KeyType]};
58
+ export type Simplify<T> = {[KeyType in keyof T]: T[KeyType]} & {};