Skip to content

fix types : export the base as children are exported#4815

Merged
DanielRosenwasser merged 1 commit into
microsoft:masterfrom
basarat:patch-1
Sep 16, 2015
Merged

fix types : export the base as children are exported#4815
DanielRosenwasser merged 1 commit into
microsoft:masterfrom
basarat:patch-1

Conversation

@basarat
Copy link
Copy Markdown
Contributor

@basarat basarat commented Sep 16, 2015

Fixes error:

../src/compiler/types.ts(2130,63): error TS4022: Extends clause of exported interface 'CommandLineOptionOfPrimitiveType' has or is using private name 'CommandLineOptionBase'.
../src/compiler/types.ts(2135,60): error TS4022: Extends clause of exported interface 'CommandLineOptionOfCustomType' has or is using private name 'CommandLineOptionBase'.

Ref : https://travis-ci.org/TypeStrong/ntypescript/builds/80545233#L143-L144

🌹

@DanielRosenwasser
Copy link
Copy Markdown
Member

Sorry about that, thanks for the fix @basarat!

DanielRosenwasser added a commit that referenced this pull request Sep 16, 2015
fix types : export the base as children are exported
@DanielRosenwasser DanielRosenwasser merged commit c9170b8 into microsoft:master Sep 16, 2015
@DanielRosenwasser
Copy link
Copy Markdown
Member

Wait, I think this might need to go into release-1.6 as well @mhegazy.

@DanielRosenwasser
Copy link
Copy Markdown
Member

Also, why did our tests never catch this?

@DanielRosenwasser
Copy link
Copy Markdown
Member

Actually, it seems that this only occurs with --declaration and no --stripInternal.

@basarat basarat deleted the patch-1 branch September 16, 2015 03:58
@basarat
Copy link
Copy Markdown
Contributor Author

basarat commented Sep 16, 2015

Also, why did our tests never catch this?

As you mentioned: only occurs with --declaration and no --stripInternal 👍 Glad I could be of service.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants