1 Star 0 Fork 0

gkk.gukaka/gateway

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
global.d.ts 994 Bytes
一键复制 编辑 原始数据 按行查看 历史
Michael Stegeman 提交于 2021-02-22 22:49 . Update webdriverio. (#2792)
/**
* Best effort declaration files.
*/
declare namespace ASN1 {
type EncoderInputTypes = string | number | boolean | number[] | string[] | Buffer;
type EncoderInput = {
[id: string]: EncoderInputTypes | EncoderInput;
};
type PemParams = {
label: string;
};
class Builder {
seq(): this;
obj(...keys: this[]): this;
key(name: string): this;
int(): this;
octstr(): this;
explicit(n: number): this;
bitstr(): this;
optional(): this;
objid(): this;
}
class Encoder {
encode(input: EncoderInput, type: 'pem', params: PemParams): string;
}
export function define(subject: string, fn: (this: Builder) => void): Encoder;
}
declare module 'asn1.js' {
export = ASN1;
}
declare module 'promisepipe' {
export default function (input: NodeJS.ReadableStream, outout: NodeJS.WritableStream): void;
}
declare namespace WebdriverIO {
interface Browser {
getUrl(): Promise<string>;
deleteSession(): Promise<void>;
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gkkgukaka/gateway.git
git@gitee.com:gkkgukaka/gateway.git
gkkgukaka
gateway
gateway
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385