From 508e8152475a237790108420fcde6b65cc49491c Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Mon, 6 Dec 2021 16:49:09 -0300 Subject: [PATCH] chore(api): fix documentation tags --- tooling/api/src/bundle.ts | 4 ++-- tooling/api/src/helpers/event.ts | 2 -- tooling/api/src/http.ts | 2 +- tooling/api/src/index.ts | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/tooling/api/src/bundle.ts b/tooling/api/src/bundle.ts index cb0390c84..f19285144 100644 --- a/tooling/api/src/bundle.ts +++ b/tooling/api/src/bundle.ts @@ -2,8 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: MIT -/** @ignore */ /** */ - import 'regenerator-runtime/runtime' import * as app from './app' import * as cli from './cli' @@ -21,6 +19,8 @@ import * as tauri from './tauri' import * as updater from './updater' import * as window from './window' import * as os from './os' + +/** @ignore */ const invoke = tauri.invoke export { diff --git a/tooling/api/src/helpers/event.ts b/tooling/api/src/helpers/event.ts index 20f69f10f..756652e0f 100644 --- a/tooling/api/src/helpers/event.ts +++ b/tooling/api/src/helpers/event.ts @@ -2,8 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: MIT -/** @ignore */ - import { WindowLabel } from '../window' import { invokeTauriCommand } from './tauri' diff --git a/tooling/api/src/http.ts b/tooling/api/src/http.ts index 0475bf99b..eba2e752a 100644 --- a/tooling/api/src/http.ts +++ b/tooling/api/src/http.ts @@ -322,7 +322,7 @@ async function getClient(options?: ClientOptions): Promise { }).then((id) => new Client(id)) } -/** @ignore */ +/** @internal */ let defaultClient: Client | null = null /** diff --git a/tooling/api/src/index.ts b/tooling/api/src/index.ts index eef47f284..04d610d47 100644 --- a/tooling/api/src/index.ts +++ b/tooling/api/src/index.ts @@ -10,7 +10,7 @@ * ```typescript * import { app, dialog, event, fs, globalShortcut } from '@tauri-apps/api' * ``` - * @packageDocumentation + * @module */ export * from './bundle'