소스 검색

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;
 }