Open
Description
When trying to run sphinx-js over an interface with an optional field with a generic type a KeyError gets thrown.
The code being documented:
interface GenericInterface<T> { optionalField?: T; }
Gives the following Error:
Exception occurred: File "/usr/local/lib/python3.7/site-packages/sphinx_js/typedoc.py", line 123, in make_type_name node = self.nodelist[type.get('id')] KeyError: 201
Using:
TypeScript 3.5.3
TypeDoc 0.15.0
Sphinx 2.2.0
Sphinx-JS 2.8
The workaround for now is to make the Field not optional, which is fine, but it would be better to have it supported by sphinx-js.