gothinkster / angular-realworld-example-app

Exemplary real world application built with Angular

Home Page:https://angular.realworld.how/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Best way to keep constants file

pradeep0508 opened this issue · comments

This style guide looks simple and nice. It would be really great if someone adds style guide for constants

Just use TypeScript handbook as reference. AFAIK there is no rule in current Angular styleguide for constants/static variables conventions:
https://www.typescriptlang.org/docs/handbook/enums.html
There was a rule in older style guide though:
https://v2.angular.io/docs/ts/latest/guide/style-guide.html#!#03-02
Cheers!