소스 검색

typescriptize

Yuki Takei 3 년 전
부모
커밋
fdd250ae9a
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      packages/remark-growi-plugin/src/remark-growi-plugin.ts

+ 7 - 7
packages/remark-growi-plugin/src/index.js → packages/remark-growi-plugin/src/remark-growi-plugin.ts

@@ -8,17 +8,17 @@ import { directiveFromMarkdown, directiveToMarkdown } from './mdast-util-growi-p
 import { directive } from './micromark-extension-growi-plugin/dev';
 
 /**
- * Plugin to support GROWI plugin (`$lsx(/path, depth=2)`).
- *
- * @type {import('unified').Plugin<void[], Root>}
- */
+  * Plugin to support GROWI plugin (`$lsx(/path, depth=2)`).
+  *
+  * @type {import('unified').Plugin<void[], Root>}
+  */
 export default function remarkGrowiPlugin() {
   const data = this.data();
 
   /**
-   * @param {string} field
-   * @param {unknown} value
-   */
+    * @param {string} field
+    * @param {unknown} value
+    */
   function add(field, value) {
     const list = /** @type {unknown[]} */ (
       // Other extensions