소스 검색

clean code

Shun Miyazawa 2 년 전
부모
커밋
8068c7e283
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      packages/editor/src/services/link-util/Linker.ts

+ 1 - 5
packages/editor/src/services/link-util/Linker.ts

@@ -8,11 +8,7 @@ export default class Linker {
 
   link: string | undefined;
 
-  constructor(
-      type: string = Linker.types.markdownLink,
-      label = '',
-      link = '',
-  ) {
+  constructor(type = Linker.types.markdownLink, label = '', link = '') {
     this.type = type;
     this.label = label;
     this.link = link;