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

This commit is contained in:
Lucas Fernandes Nogueira
2023-05-23 19:44:05 -07:00
committed by GitHub
parent 7e3034904c
commit 9bf98f68e7
14 changed files with 227 additions and 113 deletions
+5 -5
View File
@@ -22,7 +22,7 @@ declare global {
* const appVersion = await getVersion();
* ```
*
* @since 1.0.0
* @since 2.0.0
*/
async function getVersion(): Promise<string> {
return window.__TAURI_INVOKE__("plugin:app|version");
@@ -36,7 +36,7 @@ async function getVersion(): Promise<string> {
* const appName = await getName();
* ```
*
* @since 1.0.0
* @since 2.0.0
*/
async function getName(): Promise<string> {
return window.__TAURI_INVOKE__("plugin:app|name");
@@ -51,7 +51,7 @@ async function getName(): Promise<string> {
* const tauriVersion = await getTauriVersion();
* ```
*
* @since 1.0.0
* @since 2.0.0
*/
async function getTauriVersion(): Promise<string> {
return window.__TAURI_INVOKE__("plugin:app|tauri_version");
@@ -66,7 +66,7 @@ async function getTauriVersion(): Promise<string> {
* await show();
* ```
*
* @since 1.2.0
* @since 2.0.0
*/
async function show(): Promise<void> {
return window.__TAURI_INVOKE__("plugin:app|show");
@@ -81,7 +81,7 @@ async function show(): Promise<void> {
* await hide();
* ```
*
* @since 1.2.0
* @since 2.0.0
*/
async function hide(): Promise<void> {
return window.__TAURI_INVOKE__("plugin:app|hide");