There's so much to love about TypeScript, but the one thing that receives no love from me is the fact that there's no sure way for us to prevent "extra parameters". In this case, the "name" property exists at runtime in the return of `getAll()` but the compiler thinks there's only an `id` attribute.
Post image

Comments