This commit is contained in:
Faker
2022-05-12 11:31:17 +08:00
parent f3f5c595bb
commit 7478b1386e
10 changed files with 0 additions and 877 deletions

21
TS_JDHelloWorld.d.ts vendored
View File

@@ -1,21 +0,0 @@
interface User {
i: number;
UserName: string;
cookie: string;
UserAgent: string;
}
declare class JDHelloWorld {
scriptName: string;
constructor(scriptName?: string);
getCookie(check?: boolean): Promise<string[]>;
checkCookie(cookie: string): Promise<boolean>;
exceptCookie(filename?: string): any;
get(url: string, headers?: any): Promise<unknown>;
post(url: string, data: any, headers?: any): Promise<object>;
wait(ms?: number): Promise<unknown>;
o2s(obj: object, title?: string): void;
run(son: {
main: Function;
}): Promise<void>;
}
export { User, JDHelloWorld };