diff --git a/packages/next/types/global.d.ts b/packages/next/types/global.d.ts index 533398d22c951..af1bf9c4aebd2 100644 --- a/packages/next/types/global.d.ts +++ b/packages/next/types/global.d.ts @@ -12,6 +12,6 @@ declare namespace NodeJS { } declare module '*.module.css' { - const classes: { readonly [key: string]: string } - export default classes + const exports: { [exportName: string]: string } + export = exports }