angular / clutz

Closure to TypeScript `.d.ts` generator
MIT License
162 stars 60 forks source link

Fix the Promise<void> rewriting to not expect String nodes only. #993

Closed tsjs-copybara-bot closed 4 years ago

tsjs-copybara-bot commented 4 years ago

Fix the Promise rewriting to not expect String nodes only.

Previous change caused NPE when going over Promise<?string> or any other type that did not directly called a named type in Promise<>. This fixes that, without changing any other behavior.