reshadow
reshadow copied to clipboard
Typescript typings for reshadow/macro
Now typings works only with reshadow
module:
import styled, { css } from "reshadow";
So reshadow/macro
doesn't work with CRA Typescript app.
@kodemi my temporary solution: add declaration to project's *.d.ts. Example for CRA:
// src/react-app-env.d.ts
/// <reference types="react-scripts" />
declare module "reshadow/macro" {
export * from "@reshadow/reshadow";
}