Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(generator): export type Expectation #17

Merged
merged 1 commit into from
May 29, 2018
Merged

fix(generator): export type Expectation #17

merged 1 commit into from
May 29, 2018

Conversation

zewa666
Copy link
Contributor

@zewa666 zewa666 commented May 29, 2018

our automated mocha tests are failing as the typescript compiler fails with the message
Parameter 'expected' of public static method from exported class has or is using private name 'Expectation'

Since this type is consumed by external clients, with one of the latest TypeScript versions we do get this issue

our automated mocha tests are failing as the typescript compiler fails with the message
Parameter 'expected' of public static method from exported class has or is using private name 'Expectation'

Since this type is consumed by external clients, with one of the latest TypeScript versions we do get this issue
@stifflerus
Copy link
Contributor

This doesn't completely fix the issue. You also need to export IOtherExpectation, IEndExpectation, IAnyExpectation, IClassExpectation, IClassParts, and ILiteralExpectation.

@pjmolina pjmolina merged commit 6332dfc into metadevpro:master May 29, 2018
@zewa666
Copy link
Contributor Author

zewa666 commented May 30, 2018

@stifflerus thanks for the catch, another reason why the tests might be useful :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants