Explorar el Código

typescriptize

Yuki Takei hace 3 años
padre
commit
fdd250ae9a
Se han modificado 1 ficheros con 7 adiciones y 7 borrados
  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