Damian Green
Damian Green
@danielmhanover Did you create this in a ```.d.ts``` file? Your code gives me the following error: ``` TS7016: Could not find a declaration file for module 'isomorphic-style-loader/lib/withStyles'. '\node_modules\isomorphic-style-loader\lib\withStyles.js' implicitly has...
@sumit-sinha Tihs is getting closer. However it falls down when passing multiple styles, e.g. `withStyles( normalizeCss, antd,` also receive the warning `a const initializer in an ambient context must be...
@NoxHarmonium 's answer works well. For completeness we had to add ``` declare module 'isomorphic-style-loader/useStyles' { const useStyles = (...styles: Styles[]) => any export default useStyles } ```
Will this get released?
I've created a library that solves this, that works with react 16+ and allows for resizing of components https://github.com/damiangreen/isomorphic-react-fittext
I managed to get it working by doing the following: `const x= gtm.scriptAsHTML().replace(/[\n\r]/g, '').replace(//g, '')` and then in my helmet tag: ``` {x} ``` It would be great if the...
Getting this on 15.8.6
not stale still an issue
is anything happening on this?
anyone find a solution to this yet?