Browse Source

style: adjust argument names

Kia Ishii 4 năm trước cách đây
mục cha
commit
e538a9525b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      types/logger.d.ts

+ 1 - 1
types/logger.d.ts

@@ -1,7 +1,7 @@
 import { Payload, Plugin } from "./index";
 
 interface Logger extends Partial<Pick<Console, 'groupCollapsed' | 'group' | 'groupEnd'>> {
-  log(message: string, colour: string, action: any): void;
+  log(message: string, color: string, payload: any): void;
   log(message: string): void;
 }