angular-realworld-example-app icon indicating copy to clipboard operation
angular-realworld-example-app copied to clipboard

Best way to keep constants file

Open pradeep0508 opened this issue 7 years ago • 1 comments

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

pradeep0508 avatar Nov 08 '18 17:11 pradeep0508

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!

peterblazejewicz avatar Jul 10 '19 21:07 peterblazejewicz