In some API doc type classes, the TypeScript package just uses the plain typeToString method. By default this method truncates long types and therefore causes unexpected results.
We should allow users to overwrite the typeToString logic using the recently introduced Host class. Probably in the future it might be worth passing NoTruncation by default.
In some API doc type classes, the TypeScript package just uses the plain
typeToString
method. By default this method truncates long types and therefore causes unexpected results.We should allow users to overwrite the
typeToString
logic using the recently introducedHost
class. Probably in the future it might be worth passingNoTruncation
by default.https://github.com/angular/dgeni-packages/blob/master/typescript/src/api-doc-types/ConstExportDoc.ts#L22