refactor: enhance configuration handling and error checking for template fields in the Word output plugin
This commit is contained in:
16
src/types/kintone.d.ts
vendored
16
src/types/kintone.d.ts
vendored
@@ -98,4 +98,20 @@ declare namespace kintone {
|
||||
function getFormFields(): Promise<unknown>;
|
||||
function getFormLayout(): Promise<unknown>;
|
||||
}
|
||||
|
||||
function proxy(
|
||||
url: string,
|
||||
method: string,
|
||||
headers: Record<string, string>,
|
||||
data: Record<string, unknown> | string,
|
||||
): Promise<[string, number, Record<string, string>]>;
|
||||
|
||||
function proxy(
|
||||
url: string,
|
||||
method: string,
|
||||
headers: Record<string, string>,
|
||||
data: Record<string, unknown> | string,
|
||||
callback: (resp: [string, number, Record<string, string>]) => void,
|
||||
errback: (err: Error) => void,
|
||||
): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user