Skip to content

Commit d070b2f

Browse files
noahtallenromainmenke
authored andcommitted
The type definitions have slightly invalid syntax. { root: any } should be { root }: { root: any }
1 parent 1fa8f3e commit d070b2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/postcss-custom-properties/src/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface PluginOptions {
2020
export interface Plugin {
2121
(options?: PluginOptions): {
2222
postcssPlugin: 'postcss-custom-properties',
23-
prepare({ root: any }): (
23+
prepare({ root }: { root: any }): (
2424
| {
2525
Declaration: (decl: any) => void;
2626
Once?: undefined;

0 commit comments

Comments
 (0)