#get rid of type errors w/ CSS modules
1 messages ยท Page 1 of 1 (latest)
//@ts-ignore works great for that ๐
@strong path
declare module "*.module.css" {
let asset: string;
export default asset;
// extend the existing *.css definition to include a named export
export const styles: Record<string, string>;
}
I accidentally deleted my "remix.env.d.ts" that has the /// <reference types="@remix-run/dev" /> bit in it ๐