@standardserver/shared 0.0.4 → 0.0.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/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare function toArray<T>(value: T): T extends readonly any[] ? T : Exclude<T, undefined | null>[];
|
|
2
2
|
|
|
3
3
|
declare const PACKAGE_NAME = "@standardserver/shared";
|
|
4
|
-
declare const PACKAGE_VERSION = "0.0.
|
|
4
|
+
declare const PACKAGE_VERSION = "0.0.6";
|
|
5
5
|
/**
|
|
6
6
|
* Generates a unique symbol for the specified name within the package scope.
|
|
7
7
|
* The symbol is globally registered using `Symbol.for` to ensure consistency across modules.
|
|
@@ -65,7 +65,7 @@ declare function stringifyJSON<T>(value: T | {
|
|
|
65
65
|
/**
|
|
66
66
|
* Checks whether the provided container is a typescript object (object or function).
|
|
67
67
|
*/
|
|
68
|
-
declare function isTypescriptObject(maybeObject: unknown): maybeObject is object
|
|
68
|
+
declare function isTypescriptObject(maybeObject: unknown): maybeObject is object & Record<PropertyKey, unknown>;
|
|
69
69
|
|
|
70
70
|
interface GetOrBindOptions {
|
|
71
71
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare function toArray<T>(value: T): T extends readonly any[] ? T : Exclude<T, undefined | null>[];
|
|
2
2
|
|
|
3
3
|
declare const PACKAGE_NAME = "@standardserver/shared";
|
|
4
|
-
declare const PACKAGE_VERSION = "0.0.
|
|
4
|
+
declare const PACKAGE_VERSION = "0.0.6";
|
|
5
5
|
/**
|
|
6
6
|
* Generates a unique symbol for the specified name within the package scope.
|
|
7
7
|
* The symbol is globally registered using `Symbol.for` to ensure consistency across modules.
|
|
@@ -65,7 +65,7 @@ declare function stringifyJSON<T>(value: T | {
|
|
|
65
65
|
/**
|
|
66
66
|
* Checks whether the provided container is a typescript object (object or function).
|
|
67
67
|
*/
|
|
68
|
-
declare function isTypescriptObject(maybeObject: unknown): maybeObject is object
|
|
68
|
+
declare function isTypescriptObject(maybeObject: unknown): maybeObject is object & Record<PropertyKey, unknown>;
|
|
69
69
|
|
|
70
70
|
interface GetOrBindOptions {
|
|
71
71
|
/**
|
package/dist/index.mjs
CHANGED