Closed davidreher closed 8 years ago
Thanks for this @davidreher - can you knock up a unit test for it in dgeni-packages/typescript/processors/readTypeScriptModules.spec.js
- then we can merge it
sure thing
@petebacondarwin done
Landed and released as 0.13.1 - thanks
thanks for the quick response and release :+1:
@petebacondarwin I have a typescript file, where I am reassigning some properties. This causes the current implementation to fail with:
reason is that
declaration.initializer.expression
is set, but notdeclaration.initializer.expression.text
.With this PR we optionally use the
typeChecker
to get some information about the property and if this fails as well we fall back to the previouselse
branch.