global declaration css ts code example
Example: global declaration css ts
declare module "*.css" {
const styles: { [className: string]: string };
export default styles;
}
declare module "*.css" {
const styles: { [className: string]: string };
export default styles;
}