If you're getting this error in VSCode, try restarting the ESLint server (Cmd-Shift-P "restart eslint"). It doesn't always pick up new imports properly.