Click in order · JavaScript and TypeScript course · Module 6: TypeScript Basics
Sorting: Function Overloading Syntax
Arrange the elements of an overloaded function in TypeScript:
Items to click
- /* implementacja */ }
- function find(name: string): Dino;
- function find(arg: number | string): Dino {
- function find(id: number): Dino;
You can check the correct answer by solving this task in the CodeWorlds game.