Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

use const and let instead of var#307

Merged
mhevery merged 1 commit intoangular:masterfrom
Brooooooklyn:use-let-const
Apr 8, 2016
Merged

use const and let instead of var#307
mhevery merged 1 commit intoangular:masterfrom
Brooooooklyn:use-let-const

Conversation

@Brooooooklyn
Copy link
Copy Markdown
Contributor

Use const and let instead of var
And use semicolon in interface

@Brooooooklyn
Copy link
Copy Markdown
Contributor Author

@mhevery I'm wondering if use let and const is a better way to write typescript, and I remove the var in lib files.

And also , I fix some style in codes such as == and ',' in interface and type

@mhevery
Copy link
Copy Markdown
Contributor

mhevery commented Apr 8, 2016

Yes let and const are better. Old habits die hard.

@mhevery mhevery merged commit 0bc94b4 into angular:master Apr 8, 2016
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.

2 participants