Commit Graph
4 Commits
Author SHA1 Message Date
Andy Hanson 21065fcb6b Enable "esModuleInterop" in all tsconfigs 2018-02-05 09:49:31 -08:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy 7660556dc2 css-modules: Use LF line endings (#18185) 2017-07-18 12:24:00 -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