Commit Graph

6 Commits

Author SHA1 Message Date
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
1c3089e2a8 Update index.d.ts
Add support for css pre-processors like `sass`, `less` etc.
2017-07-17 23:02:35 -07:00
Neek Sandhu
868ee465ad Create tslint.json 2017-07-17 17:03:36 -07:00
Neek Sandhu
ead0824c87 Add DefinitelyTyped headers 2017-07-14 19:15:34 -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