mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
chore(api): update @since tag to 2.0.0 (#395)
This commit is contained in:
committed by
GitHub
parent
7e3034904c
commit
9bf98f68e7
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user