You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught TypeError TypeError: Cannot read properties of undefined (reading 'getId')
at <anonymous> (C:\Dev\Temp\node_modules\ts-json-schema-generator\dist\src\Utils\nodeKey.js:43:57)
at getKey (C:\Dev\Temp\node_modules\ts-json-schema-generator\dist\src\Utils\nodeKey.js:43:40)
at getCacheKey (C:\Dev\Temp\node_modules\ts-json-schema-generator\dist\src\NodeParser.js:30:55)
at createType (C:\Dev\Temp\node_modules\ts-json-schema-generator\dist\src\ChainNodeParser.js:25:41)
I've got similar issue when using kind of A<T, U = something depending on T> and then referencing this as A<SomeType>. I hoped U will be inferred, but got this error instead. Had to go another way.
For some reason generation is failing for the following:
with the following error:
Have a look at the codesandbox example and ts playground
The text was updated successfully, but these errors were encountered: