react-strict-dom
react-strict-dom copied to clipboard
TypeScript support
Describe the feature request
Generate a TypeScript libdef for the npm package
I'm overhauling the build setup which will include this.
Thanks! In the meantime it is at least possible to get the types for css from styleX:
// types.d.ts
declare module "react-strict-dom" {
// CSS is a re-export of the module "@stylexjs/stylex";
export * as css from "@stylexjs/stylex";
}
This should be fixed in 0.0.3 which was released after #36 was merged