diff --git a/types/index.d.ts b/types/index.d.ts index 17d4d30c..77130198 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -21,7 +21,7 @@ export type PostCSSPluginConf = { extensions?: string[]; plugins?: any[]; autoModules?: boolean; - namedExports?: boolean | ((id: string) => boolean); + namedExports?: boolean | ((id: string) => string); minimize?: boolean | any; parser?: string | FunctionType; stringifier?: string | FunctionType;