es-toolkit
                                
                                
                                
                                    es-toolkit copied to clipboard
                            
                            
                            
                        Have `isPlainObject` assert to `unknown` instead of `any`
Currently, isPlainObject asserts value is Record<PropertyKey, any>, but I think it would be safer to assert value is Record<PropertyKey, unknown> (like https://remedajs.com/docs/#isPlainObject) does?