@definitelytyped/utils 0.1.10 → 0.1.11

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @definitelytyped/utils
2
2
 
3
+ ## 0.1.11
4
+
5
+ ### Patch Changes
6
+
7
+ - 670f4a7: Remove unused type param from misc functions
8
+
3
9
  ## 0.1.10
4
10
 
5
11
  ### Patch Changes
@@ -1,6 +1,6 @@
1
- export declare function tryParseJson<T>(text: string): unknown;
1
+ export declare function tryParseJson(text: string): unknown;
2
2
  export declare function tryParseJson<T>(text: string, predicate: (parsed: unknown) => parsed is T): T | undefined;
3
- export declare function parseJson<T>(text: string): unknown;
3
+ export declare function parseJson(text: string): unknown;
4
4
  export declare function parseJson<T>(text: string, predicate?: (parsed: unknown) => parsed is T): T;
5
5
  export declare function identity<T>(t: T): T;
6
6
  export declare function isObject(value: unknown): value is Record<string, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@definitelytyped/utils",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Shared utilities for DefinitelyTyped tools",
5
5
  "homepage": "https://github.com/microsoft/DefinitelyTyped-tools/tree/main/packages/utils#readme",
6
6
  "license": "MIT",