mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
fix Method return values
This commit is contained in:
Vendored
+2
-2
@@ -7094,7 +7094,7 @@ declare namespace EngineAPI {
|
||||
* Note: If no app is opened, an error message is returned:
|
||||
* For example code: 1007 and No active document and App invalid
|
||||
*/
|
||||
getActiveDoc(): Promise<IApp | string>; // ?Result
|
||||
getActiveDoc(): Promise<IApp>; // ?Result
|
||||
|
||||
/**
|
||||
* Retrieves the meta data of an app.
|
||||
@@ -7240,7 +7240,7 @@ declare namespace EngineAPI {
|
||||
* >> Default is all groups.
|
||||
* @returns A Promise <Function> or undefined
|
||||
*/
|
||||
getFunctions(qGroup?: FunctionGroupType): Promise<IFunction | undefined>;
|
||||
getFunctions(qGroup?: FunctionGroupType): Promise<IFunction[]>;
|
||||
|
||||
/**
|
||||
* Retrieves information on the user interaction that is requested by the engine.
|
||||
|
||||
Reference in New Issue
Block a user