Why am i getting 'no overload matches this call' in typescript?
This error appears when you are trying to call a function or method in a way that doesn't match any of its declared signatures.
Example:
function greet(name: string) {
console.log("Hello, " + name);
}
greet(123);
Solution:
function greet(name: string) {
console.log("Hello, " + name);
}
greet("123");