Skip to content

Migrate to latest typescript #71

New issue

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

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

Already on GitHub? # to your account

Merged

Conversation

caesay
Copy link
Contributor

@caesay caesay commented Apr 10, 2017

No description provided.

@CLAassistant
Copy link

CLAassistant commented Apr 10, 2017

CLA assistant check
All committers have signed the CLA.

@@ -8,7 +8,7 @@ let decoder = new StringDecoder('utf8');
let strings: string[] = [];

let jsonStream = new stream.Writable();
jsonStream._write = (chunk: Buffer | string, encoding: string, next: Function) => {
(jsonStream as any)._write = (chunk: Buffer | string, encoding: string, next: Function) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_write became protected in the new typing, so need to access via an any cast.

@caesay
Copy link
Contributor Author

caesay commented Apr 10, 2017

So I've tested this upgrade and everything seems to work, but I can't get the tests to run.

TsProject throws an error when trying to run the tests:

TypeError: Cannot read property 'flags' of undefined

@niemyjski I also see that there are mentions of this repo and this issue on the following thread where you also commented:
ToddThomson/tsproject#84

@niemyjski niemyjski changed the base branch from master to feature/latest-ts April 10, 2017 16:16
@niemyjski niemyjski merged commit 184ca6a into exceptionless:feature/latest-ts Apr 10, 2017
@niemyjski
Copy link
Member

Thanks for the PR! I'm going to work with TSProj and see if I can get that figured out.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants