@types/knockout.mapping 2.0.36 → 2.0.37

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.
@@ -8,7 +8,7 @@ This package contains type definitions for Knockout.Mapping (https://github.com/
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/knockout.mapping.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 08 Jul 2021 16:23:18 GMT
11
+ * Last updated: Tue, 11 Jan 2022 16:31:41 GMT
12
12
  * Dependencies: [@types/knockout](https://npmjs.com/package/@types/knockout)
13
13
  * Global values: `mapping`
14
14
 
@@ -18,8 +18,8 @@ type Primitives = string | number | boolean | symbol;
18
18
  declare global {
19
19
 
20
20
  type MappedType<T> =
21
- T extends Primitives ? KnockoutObservable<T> :
22
- T extends object ? KnockoutObservableType<T> :
21
+ [T] extends [Primitives] ? KnockoutObservable<T> :
22
+ [T] extends [object] ? KnockoutObservableType<T> :
23
23
  any;
24
24
 
25
25
  type KnockoutObservableType<T> = {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/knockout.mapping",
3
- "version": "2.0.36",
3
+ "version": "2.0.37",
4
4
  "description": "TypeScript definitions for Knockout.Mapping",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/knockout.mapping",
6
6
  "license": "MIT",
@@ -32,6 +32,6 @@
32
32
  "dependencies": {
33
33
  "@types/knockout": "*"
34
34
  },
35
- "typesPublisherContentHash": "b1ee0206ac80171fe10afcd0b77b963e23d53255c9e9f6829cd750e7f43b7a93",
36
- "typeScriptVersion": "3.6"
35
+ "typesPublisherContentHash": "6ba47fc51cd64cd605a372e38acf9a3e911e9b9bea060732350546087f8efd55",
36
+ "typeScriptVersion": "3.8"
37
37
  }