@vuepress/shared 2.0.0-rc.16 → 2.0.0-rc.18
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.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -277,7 +277,7 @@ declare const isFunction: (val: unknown) => val is Function;
|
|
|
277
277
|
/**
|
|
278
278
|
* Check if a value is plain object, with generic type support
|
|
279
279
|
*/
|
|
280
|
-
declare const isPlainObject: <T extends Record<
|
|
280
|
+
declare const isPlainObject: <T extends Record<any, any> = Record<any, any>>(val: unknown) => val is T;
|
|
281
281
|
/**
|
|
282
282
|
* Check if a value is a string
|
|
283
283
|
*/
|