@vue/shared 3.5.1 → 3.5.3
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/shared.cjs.js +1 -1
- package/dist/shared.cjs.prod.js +1 -1
- package/dist/shared.d.ts +0 -3
- package/dist/shared.esm-bundler.js +1 -1
- package/package.json +1 -1
package/dist/shared.cjs.js
CHANGED
package/dist/shared.cjs.prod.js
CHANGED
package/dist/shared.d.ts
CHANGED
|
@@ -311,9 +311,6 @@ export type LooseRequired<T> = {
|
|
|
311
311
|
[P in keyof (T & Required<T>)]: T[P];
|
|
312
312
|
};
|
|
313
313
|
export type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
|
|
314
|
-
export type Awaited<T> = T extends null | undefined ? T : T extends object & {
|
|
315
|
-
then(onfulfilled: infer F, ...args: infer _): any;
|
|
316
|
-
} ? F extends (value: infer V, ...args: infer _) => any ? Awaited<V> : never : T;
|
|
317
314
|
/**
|
|
318
315
|
* Utility for extracting the parameters from a function overload (for typed emits)
|
|
319
316
|
* https://github.com/microsoft/TypeScript/issues/32164#issuecomment-1146737709
|