Typed Explorer Step 3: Type the Functions

Annotate every function in your Explorer: parameters always, return types where the function is doing something non-obvious. Start with the callback props, because that is where the compiler will find things. Note down every error the compiler reports that you did not expect, and for each, decide whether it is a bug or a bad type. Then type the debounce and search helpers you extracted in the React course, and see whether the signatures you wrote match what the callers actually pass.

SANKOFA SANDBOX
loading editor…
Your turn → Work through it step by step. This is a piece of the course project, not a throwaway exercise.

Built it in both languages?

Mark it done once your Python and JavaScript versions both run correctly. Honesty here is what makes the dashboard useful to you.

← BackNext: Module 4: Objects and Interfaces →