typescript - Extended Angular component inputs doesn't give all needed info in .d.ts files -
we've decided @ work create ui library based off of existing 1 (primeng), we're extending classes, copying various metadata @component decorators. works fine, , we've been able bundle (for part).
however, 1 issue i'm experiencing: when i'm extending e.g p-paginator, , after running angular compiler (ngc), emits:
- my-paginator.js
- my-paginator.d.ts
- my-paginator.metadata.json
- paginator.js (primeng)
- paginator.d.ts (primeng)
- paginator.metadata.json (primeng)
however, preferred output be:
- my-paginator.js
- my-paginator.d.ts
- my-paginator.metadata.json
is there way in tsconfig file specify extended classes should added extending class? or way this, outside of manually copying code primeng?
hope question formulated ok.
Comments
Post a Comment