The clarity of this post saved my ass. I could not understand much of any research I had done in the last 2 days and settled for a workaround that ultimately caused a bug rendering my component library useless in any other Typescript project. Figured it out in less than 2 minutes after reviewing two of your code examples. Big thanks!