Closed dherges closed 6 years ago
Thanks for spotting this @dherges - it wasn't causing problems in angular.io because we filter such docs before the path and id processor runs.
Do you want to put together a PR?
Hi @petebacondarwin,
yes, the PR is about to come :smile:
I can also confirm that by overriding the templates the error goes away. So it's just these defaults.
Also, a big thanks for all the time and effort! In particular, the typescript packages, the TsParser and re-writing it in TypeScript! The big bunch of features on top of the typescript APIs is fantastic! :bowing_man: :church:
The
idTemplate
andpathTemplate
in the typescript package still reference theclassDoc
property.https://github.com/angular/dgeni-packages/blob/master/typescript/src/index.ts#L57
https://github.com/angular/dgeni-packages/blob/master/typescript/src/api-doc-types/MemberDoc.ts#L44
This causes the lodash template to trigger a ReferenceError:
Should the template be changed to reference
containerDoc
instead?https://github.com/angular/dgeni-packages/blob/master/typescript/src/api-doc-types/MemberDoc.ts#L44
edit and the property docs should reference
container
?https://github.com/angular/dgeni-packages/blob/master/typescript/src/index.ts#L65
https://github.com/angular/dgeni-packages/blob/master/typescript/src/api-doc-types/ParameterDoc.ts#L23