浏览代码

style: adjust argument names

Kia Ishii 4 年之前
父节点
当前提交
e538a9525b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
 }