Open rcdexta opened 5 years ago
create a file typings.d.ts
in src
folder
then add following code
declare module 'styled-jss' {
const styled = require('styled-jss');
export default styled;
}
then you can using it in your component
import styled from "styled-jss";
Any pointers on using this in a typescript project? Anyone using this library with an internal type file?