Skip to content

Commit e961d23

Browse files
committed
verifyPlainObject
1 parent 2140744 commit e961d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/verifyPlainObject.js renamed to src/utils/verifyPlainObject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import isPlainObject from './isPlainObject'
22
import warning from './warning'
33

4-
export default function verifyPlainObject(value, displayName, methodName) {
4+
export default function verifyPlainObject(value: unknown, displayName: string, methodName: string) {
55
if (!isPlainObject(value)) {
66
warning(
77
`${methodName}() in ${displayName} must return a plain object. Instead received ${value}.`

0 commit comments

Comments
 (0)