[Solved] What is the required type argument?


What is the required type argument?

When something needs a generic and isn’t provided. E.g.

class Foo<T>{
    data:T
}

class Bar extends Foo { } // Missing generic argument

Fix

Provide the generic argument e.g.

class Foo<T>{
    data:T
}

class Bar extends Foo<number> { }

2

solved What is the required type argument?