[Solved] What is the required type argument?

[ad_1]

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

[ad_2]

solved What is the required type argument?