Commit Graph

4 Commits

Author SHA1 Message Date
Andy
219dd6df82
Fix 'prefer-readonly' lint failures (#22819) 2018-01-10 14:59:37 -08:00
Andy
7660556dc2 css-modules: Use LF line endings (#18185) 2017-07-18 12:24:00 -07:00
Neek Sandhu
ed7bf7126e Fulfill compliance with tslint.json 2017-07-17 23:03:38 -07:00
Neek Sandhu
4eb2295312 Add types for css-modules
Enables users to `import styles from '../main.css'` in your TypeScript files.
From there on, assuming user is using `webpack` with `css-loader`, they can also do `styles.toString()` or `classNames(styles.productLabel...` without any squiggly lines, instead works with intellisense beautifully (both of ops have `string` as return type)
2017-07-11 22:17:11 -07:00