@js-utils-kit/types 1.4.0 → 1.5.0

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/dist/index.d.cts CHANGED
@@ -300,6 +300,10 @@ type PackageJson = DeepPartial<{
300
300
  [key: string]: unknown;
301
301
  }>;
302
302
  //#endregion
303
+ //#region src/PlainObject.d.ts
304
+ /** Represents a generic JavaScript object with arbitrary property keys */
305
+ type PlainObject = Record<PropertyKey, unknown>;
306
+ //#endregion
303
307
  //#region src/Trim.d.ts
304
308
  /**
305
309
  * Trims whitespace from a string with methods for leading and trailing and normalizing whitespace.
@@ -335,4 +339,4 @@ interface Trim {
335
339
  normalizeWhitespace(str: string): string;
336
340
  }
337
341
  //#endregion
338
- export { ArchiveFormat, ArchiverOptions, CommitTypeMeta, CreateArchiveOptions, Environment, Falsy, Hour, HttpStatusCode, MinuteOrSecond, PackageJson, Trim };
342
+ export { ArchiveFormat, ArchiverOptions, CommitTypeMeta, CreateArchiveOptions, Environment, Falsy, Hour, HttpStatusCode, MinuteOrSecond, PackageJson, PlainObject, Trim };
package/dist/index.d.mts CHANGED
@@ -300,6 +300,10 @@ type PackageJson = DeepPartial<{
300
300
  [key: string]: unknown;
301
301
  }>;
302
302
  //#endregion
303
+ //#region src/PlainObject.d.ts
304
+ /** Represents a generic JavaScript object with arbitrary property keys */
305
+ type PlainObject = Record<PropertyKey, unknown>;
306
+ //#endregion
303
307
  //#region src/Trim.d.ts
304
308
  /**
305
309
  * Trims whitespace from a string with methods for leading and trailing and normalizing whitespace.
@@ -335,4 +339,4 @@ interface Trim {
335
339
  normalizeWhitespace(str: string): string;
336
340
  }
337
341
  //#endregion
338
- export { ArchiveFormat, ArchiverOptions, CommitTypeMeta, CreateArchiveOptions, Environment, Falsy, Hour, HttpStatusCode, MinuteOrSecond, PackageJson, Trim };
342
+ export { ArchiveFormat, ArchiverOptions, CommitTypeMeta, CreateArchiveOptions, Environment, Falsy, Hour, HttpStatusCode, MinuteOrSecond, PackageJson, PlainObject, Trim };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@js-utils-kit/types",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Type Declarations",
5
5
  "homepage": "https://js-utils.js.org",
6
6
  "repository": {