-
Notifications
You must be signed in to change notification settings - Fork 178
Incorrect design type is built for Array<>, starts from 0.18.0 #162
Comments
@likerRr which typescript version do you use? |
@s-panferov sorry, v1.8.10 |
@s-panferov any updates? |
@likerRr I think that error is in TypeScript itself microsoft/TypeScript#9232 Loader right now tries to use |
Any updates on this? The TypeScript bug seems to have been closed, but I still get incorrect metadata when using |
I did two tests:
So it seems like the library files are not being added to the list of compilation files, hence the emitted metadata defaults to |
I have a class where I defined a property such way:
ATL v0.17.0 produces this code:

ATL v0.18.0+ (up to v1) produces this code:

What's interesting, that if I define property such way:
and build it with v0.18.0 then it will produce
Array
design type as expected.Why does it happen and what array notation should I use:
Array<any>
orany[]
?The text was updated successfully, but these errors were encountered: