#get rid of type errors w/ CSS modules

1 messages ยท Page 1 of 1 (latest)

strong path
#

anybody know what I need to do to get rid of the type errors here?

tough vale
#

//@ts-ignore works great for that ๐Ÿ˜‚

quick apex
#

@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>;
}
strong path