chore(api): update @since tag to 2.0.0 (#395)

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/5064150737

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
This commit is contained in:
Lucas Fernandes Nogueira
2023-05-24 02:46:10 +00:00
committed by tauri-bot
parent 4980285e95
commit de76808e87
4 changed files with 8 additions and 8 deletions

4
dist-js/index.d.ts vendored
View File

@@ -18,7 +18,7 @@ declare global {
* @param code The exit code to use.
* @returns A promise indicating the success or failure of the operation.
*
* @since 1.0.0
* @since 2.0.0
*/
declare function exit(code?: number): Promise<void>;
/**
@@ -31,7 +31,7 @@ declare function exit(code?: number): Promise<void>;
*
* @returns A promise indicating the success or failure of the operation.
*
* @since 1.0.0
* @since 2.0.0
*/
declare function relaunch(): Promise<void>;
export { exit, relaunch };

View File

@@ -12,7 +12,7 @@
* @param code The exit code to use.
* @returns A promise indicating the success or failure of the operation.
*
* @since 1.0.0
* @since 2.0.0
*/
async function exit(code = 0) {
return window.__TAURI_INVOKE__("plugin:process|exit", { code });
@@ -27,7 +27,7 @@ async function exit(code = 0) {
*
* @returns A promise indicating the success or failure of the operation.
*
* @since 1.0.0
* @since 2.0.0
*/
async function relaunch() {
return window.__TAURI_INVOKE__("plugin:process|restart");

View File

@@ -12,7 +12,7 @@
* @param code The exit code to use.
* @returns A promise indicating the success or failure of the operation.
*
* @since 1.0.0
* @since 2.0.0
*/
async function exit(code = 0) {
return window.__TAURI_INVOKE__("plugin:process|exit", { code });
@@ -27,7 +27,7 @@ async function exit(code = 0) {
*
* @returns A promise indicating the success or failure of the operation.
*
* @since 1.0.0
* @since 2.0.0
*/
async function relaunch() {
return window.__TAURI_INVOKE__("plugin:process|restart");

View File

@@ -24,7 +24,7 @@ declare global {
* @param code The exit code to use.
* @returns A promise indicating the success or failure of the operation.
*
* @since 1.0.0
* @since 2.0.0
*/
async function exit(code = 0): Promise<void> {
return window.__TAURI_INVOKE__("plugin:process|exit", { code });
@@ -40,7 +40,7 @@ async function exit(code = 0): Promise<void> {
*
* @returns A promise indicating the success or failure of the operation.
*
* @since 1.0.0
* @since 2.0.0
*/
async function relaunch(): Promise<void> {
return window.__TAURI_INVOKE__("plugin:process|restart");