Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function checkTypesForCleanup() { cleanup(); // $ExpectType Promise }
Simple and complete React hooks testing utilities that encourage good testing practices.