Browse Source

fix(docs): imports must come after module docs

Lucas Nogueira 3 years ago
parent
commit
9ed1ba0bce
2 changed files with 6 additions and 6 deletions
  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`.
  *