Browse Source

clean code

Shun Miyazawa 2 years ago
parent
commit
8068c7e283
1 changed files with 1 additions and 5 deletions
  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;
   link: string | undefined;
 
 
-  constructor(
-      type: string = Linker.types.markdownLink,
-      label = '',
-      link = '',
-  ) {
+  constructor(type = Linker.types.markdownLink, label = '', link = '') {
     this.type = type;
     this.type = type;
     this.label = label;
     this.label = label;
     this.link = link;
     this.link = link;