Skip to content

Commit

Permalink
Update PAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
lyonsil committed Feb 28, 2024
1 parent 29ccbf8 commit c487df2
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions lib/papi-dts/papi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2379,14 +2379,8 @@ declare module 'papi-shared-types' {
* ```
*/
interface CommandHandlers {
'test.echo': (message: string) => string;
'test.echoRenderer': (message: string) => Promise<string>;
'test.echoExtensionHost': (message: string) => Promise<string>;
'test.throwError': (message: string) => void;
'platform.restartExtensionHost': () => Promise<void>;
'platform.quit': () => Promise<void>;
'test.addMany': (...nums: number[]) => number;
'test.throwErrorExtensionHost': (message: string) => void;
}
/**
* Names for each command available on the papi.
Expand Down Expand Up @@ -2919,14 +2913,6 @@ declare module 'papi-shared-types' {
declare module 'shared/services/command.service' {
import { UnsubscriberAsync } from 'platform-bible-utils';
import { CommandHandlers, CommandNames } from 'papi-shared-types';
module 'papi-shared-types' {
interface CommandHandlers {
'test.addThree': typeof addThree;
'test.squareAndConcat': typeof squareAndConcat;
}
}
function addThree(a: number, b: number, c: number): Promise<number>;
function squareAndConcat(a: number, b: string): Promise<string>;
/** Sets up the CommandService. Only runs once and always returns the same promise after that */
export const initialize: () => Promise<void>;
/** Send a command to the backend. */
Expand Down

0 comments on commit c487df2

Please sign in to comment.