Back to models

/devstral

Mistral's specialist for coding

Input

Output

Demo

Sample output — click Run to generate your own.

Two concerns: (1) the untouched call site will throw at runtime — TS would have caught this, so either the codebase is JS or the rename wasn't applied through an LSP rename. Flag it as a missed occurrence with the exact line. (2) `findUser` usually implies "may return null" while `getUser` often implies "throws if missing". If the return type didn't change to `User | null`, the rename is misleading — recommend keeping the old behavior explicit in the name (`requireUser` / `findUserOrNull`) or updating the signature and all callers.

Ready to use Devstral?

500 free credits · No credit card