Skip to content
New issue

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 3: Cannot read property 'getName' of undefined #6

Open
Crusader4Christ opened this issue Sep 16, 2020 · 0 comments
Open

Comments

@Crusader4Christ
Copy link

...node_modules/readts/dist/TypeSpec.js:38
if (type.target.symbol.getName() == 'Array' && type.typeArguments) {
^

TypeError: Cannot read property 'getName' of undefined
at TypeSpec.parseReference (...node_modules/readts/dist/TypeSpec.js:38:32)
at new TypeSpec (...node_modules/readts/dist/TypeSpec.js:17:18)
at TypeSpec.parseReference (...node_modules/readts/dist/TypeSpec.js:39:28)
at new TypeSpec (...node_modules/readts/dist/TypeSpec.js:17:18)
at ...node_modules/readts/dist/TypeSpec.js:48:55
at Array.map ()
at TypeSpec.parseList (...node_modules/readts/dist/TypeSpec.js:48:26)
at new TypeSpec (...node_modules/readts/dist/TypeSpec.js:25:33)
at Parser.parseType (...node_modules/readts/dist/Parser.js:72:20)
at Parser.parseIdentifier (...node_modules/readts/dist/Parser.js:197:60)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant