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

Recommendations #1

Open
arjunyel opened this issue Jan 3, 2018 · 4 comments
Open

Recommendations #1

arjunyel opened this issue Jan 3, 2018 · 4 comments

Comments

@arjunyel
Copy link

arjunyel commented Jan 3, 2018

Hello :D

I recommend: updating to angular 5.1, upgrading typescript to 2.6, and turning on strict: true in the tsconfig.json :)

Also for VS code make sure you install this plugin: https://marketplace.visualstudio.com/items?itemName=Angular.ng-template

@regexpressyourself
Copy link
Owner

Hey!

Definitely good calls. I used angular-cli to bootstrap it; I'm surprised it didn't use the most recent versions. An update shouldn't break the app as it stands, correct?

I'm just barely scratching the surface of Angular and Typescript here. The plan is to finish the tutorial app then make something simple of my own using all the current packages and paradigms, as best as I can tell.

Re: VS Code... I'll use it after you pry Vim from my cold dead hands. :)

@regexpressyourself
Copy link
Owner

I was able to upgrade angular to 5.1, but it angular-cli was complaining when I tried upgrading typescript to 2.6, saying:

 npm WARN @angular/[email protected] requires a peer of typescript@>=2.4.2 <2.6 but none is installed. You must install peer dependencies yourself.

Seems like I'm not the only one: angular/angular-cli#8185

Though upgrading doesn't seem to break anything, I'll leave it at 2.4 for now.

@arjunyel
Copy link
Author

arjunyel commented Jan 4, 2018

Thats just a warning, shouldnt affect anything :) 2.6 is nice just cuz they introduced new strict function checking https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-6.html

@regexpressyourself
Copy link
Owner

Oh that's super cool! As I get more into functional programming, I could see that being incredibly handy.

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

No branches or pull requests

2 participants