huming 7 роки тому
батько
коміт
ba4f6d4e55
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      dist/logger.d.ts

+ 1 - 1
dist/logger.d.ts

@@ -12,4 +12,4 @@ export interface LoggerOption<S> {
   mutationTransformer?: <P extends Payload>(mutation: P) => any;
 }
 
-export default function createLogger<S>(option: LoggerOption<S>): Plugin<S>;
+export default function createLogger<S>(option?: LoggerOption<S>): Plugin<S>;