wc-catalogue / blaze-elements

Web Component Blaze Elements
https://wc-catalogue.github.io/blaze-elements/
MIT License
10 stars 4 forks source link

bug(typescript): tsc 2.2 is unable to generate declarations when Mixins are used #300

Closed Hotell closed 7 years ago

Hotell commented 7 years ago

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => You can submit support request here, but we preffer to chat about it realtime at our [ngParty slack](https://ngparty.herokuapp.com/)

Current behavior

50 export default class Button extends Colored( Disabled( Component ) )<ButtonProps> {
                        ~~~~~~

packages/button/Button.tsx(50,22): error TS4093: 'extends' clause of exported class 'Button' refers to a type whose name cannot be referenced.

Expected behavior

No errors when using declaration: true

Hotell commented 7 years ago

related https://github.com/Microsoft/TypeScript/issues/14597

Hotell commented 7 years ago

Closed by #303