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

Convert to TypeScript #54

Merged
merged 21 commits into from
Jun 6, 2017
Merged

Convert to TypeScript #54

merged 21 commits into from
Jun 6, 2017

Conversation

Turbo87
Copy link
Contributor

@Turbo87 Turbo87 commented May 28, 2017

The any type is still used quite a lot, but this is a first step that allows us to use better type interfaces as discussed via Slack.

@Turbo87 Turbo87 requested a review from hzoo May 28, 2017 09:51
@Turbo87
Copy link
Contributor Author

Turbo87 commented Jun 5, 2017

@hzoo any comments?

"rimraf": "^2.5.4"
"rimraf": "^2.5.4",
"ts-jest": "^20.0.4",
"tslint": "^5.3.2",
Copy link
Contributor

Choose a reason for hiding this comment

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

I was going to say you can try eslint + typescript parser + prettier now instead but can do that later

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, I'd like to postpone that for now and focus on the other commits I still have in the pipeline. I'll keep it in mind for later though.

this.name = "ConfigurationError";
this.message = message;
this.stack = (new Error()).stack;
export default class ConfigurationError {
Copy link
Contributor

@hzoo hzoo Jun 6, 2017

Choose a reason for hiding this comment

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

didn't really like extending built-ins ever but ok 😄 (can you remove the comments and code below)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

Copy link
Contributor

@hzoo hzoo left a comment

Choose a reason for hiding this comment

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

looks alright, can still use preset-env to output to node: 4 but ok

@Turbo87
Copy link
Contributor Author

Turbo87 commented Jun 6, 2017

since Travis is still 🍏 after addressing the comments I'll merge this and prepare the next PR :)

@Turbo87 Turbo87 merged commit 26dd69c into lerna:master Jun 6, 2017
@Turbo87 Turbo87 deleted the typescript branch June 6, 2017 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants