We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript Version: : 2.1.0-dev.20160721
I understand that reflect-metadata retrieves the metadata information for me. However, It can only get the outmost type.
reflect-metadata
Say, I wanted to get the return type of async function():Promise<string>, it can tells me its a promise. Same goes for Array<T>.
async function():Promise<string>
Array<T>
Is there a plan for providing nested types? Or there is already a way?
The text was updated successfully, but these errors were encountered:
This is not possible without a full type serialization scheme. you can find a long discussion about this in #3628
Sorry, something went wrong.
No branches or pull requests
TypeScript Version: : 2.1.0-dev.20160721
I understand that
reflect-metadata
retrieves the metadata information for me. However, It can only get the outmost type.Say, I wanted to get the return type of
async function():Promise<string>
, it can tells me its a promise. Same goes forArray<T>
.Is there a plan for providing nested types? Or there is already a way?
The text was updated successfully, but these errors were encountered: