mirror of
https://github.com/shufflewzc/faker3.git
synced 2026-04-04 00:44:07 +08:00
sync
This commit is contained in:
21
TS_JDHelloWorld.d.ts
vendored
21
TS_JDHelloWorld.d.ts
vendored
@@ -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 };
|
||||
Reference in New Issue
Block a user