소스 검색

fix(docs): imports must come after module docs

Lucas Nogueira 3 년 전
부모
커밋
9ed1ba0bce
2개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 4 4
      tooling/api/src/path.ts
  2. 2 2
      tooling/api/src/process.ts

+ 4 - 4
tooling/api/src/path.ts

@@ -2,10 +2,6 @@
 // SPDX-License-Identifier: Apache-2.0
 // SPDX-License-Identifier: MIT
 
-import { invokeTauriCommand } from './helpers/tauri'
-import { BaseDirectory } from './fs'
-import { isWindows } from './helpers/os-check'
-
 /**
  * The path module provides utilities for working with file and directory paths.
  *
@@ -27,6 +23,10 @@ import { isWindows } from './helpers/os-check'
  * @module
  */
 
+import { invokeTauriCommand } from './helpers/tauri'
+import { BaseDirectory } from './fs'
+import { isWindows } from './helpers/os-check'
+
 /**
  * Returns the path to the suggested directory for your app config files.
  * Resolves to `${configDir}/${bundleIdentifier}`, where `bundleIdentifier` is the value configured on `tauri.conf.json > tauri > bundle > identifier`.

+ 2 - 2
tooling/api/src/process.ts

@@ -2,8 +2,6 @@
 // SPDX-License-Identifier: Apache-2.0
 // SPDX-License-Identifier: MIT
 
-import { invokeTauriCommand } from './helpers/tauri'
-
 /**
  * Perform operations on the current process.
  *
@@ -11,6 +9,8 @@ import { invokeTauriCommand } from './helpers/tauri'
  * @module
  */
 
+import { invokeTauriCommand } from './helpers/tauri'
+
 /**
  * Exits immediately with the given `exitCode`.
  *