Describe the bug
the variable with type of generic Type doesn't work
The code causing the problem
interface IFoo<T> {}
class Foo<T> implements IFoo<T> {}
const foo = new Foo<number>();
console.log(getType(foo).name);//doesn't work and print "unknown" but should print "Foo" or something similar with c#
To Reproduce
Steps to reproduce the behavior:
- Build,
- run,
- see error...
Expected behavior
getType should return Type of variable with isGenericType==true and generic args [number]
Describe the bug
the variable with type of generic Type doesn't work
The code causing the problem
To Reproduce
Steps to reproduce the behavior:
Expected behavior
getType should return Type of variable with isGenericType==true and generic args [number]