mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Fixed Call.ByID JSDoc + TS type
This commit is contained in:
@@ -94,7 +94,7 @@ export function ByName(name, ...args) {
|
||||
/**
|
||||
* Calls a method by its ID with the specified arguments.
|
||||
*
|
||||
* @param {string} methodID - The ID of the method to call.
|
||||
* @param {number} methodID - The ID of the method to call.
|
||||
* @param {...*} args - The arguments to pass to the method.
|
||||
* @return {*} - The result of the method call.
|
||||
*/
|
||||
|
||||
@@ -19,11 +19,11 @@ export function ByName(name: string, ...args: any[]): any;
|
||||
/**
|
||||
* Calls a method by its ID with the specified arguments.
|
||||
*
|
||||
* @param {string} methodID - The ID of the method to call.
|
||||
* @param {number} methodID - The ID of the method to call.
|
||||
* @param {...*} args - The arguments to pass to the method.
|
||||
* @return {*} - The result of the method call.
|
||||
*/
|
||||
export function ByID(methodID: string, ...args: any[]): any;
|
||||
export function ByID(methodID: number, ...args: any[]): any;
|
||||
/**
|
||||
* Calls a method on a plugin.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user