@typescript-deploys/pr-build 5.1.0-pr-52845-10 → 5.1.0-pr-53134-21
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/lib/lib.es5.d.ts +6 -0
- package/lib/tsc.js +6047 -6003
- package/lib/tsserver.js +8287 -8243
- package/lib/tsserverlibrary.d.ts +298 -298
- package/lib/tsserverlibrary.js +8287 -8243
- package/lib/typescript.d.ts +298 -298
- package/lib/typescript.js +8286 -8242
- package/lib/typingsInstaller.js +2094 -2054
- package/package.json +2 -2
package/lib/lib.es5.d.ts
CHANGED
|
@@ -1602,6 +1602,12 @@ type Extract<T, U> = T extends U ? T : never;
|
|
|
1602
1602
|
*/
|
|
1603
1603
|
type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;
|
|
1604
1604
|
|
|
1605
|
+
/**
|
|
1606
|
+
* Construct a type with the properties of T except for those in type K,
|
|
1607
|
+
* in a mapped format
|
|
1608
|
+
*/
|
|
1609
|
+
type MappedOmit<T, K extends keyof any> = { [P in keyof T as Exclude<P, K>]: T[P]; }
|
|
1610
|
+
|
|
1605
1611
|
/**
|
|
1606
1612
|
* Exclude null and undefined from T
|
|
1607
1613
|
*/
|