mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
type -> interface
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
fb72150214
commit
dcd58a7cbc
8
types/selfsigned.d.ts
vendored
8
types/selfsigned.d.ts
vendored
@ -4,15 +4,15 @@
|
||||
*/
|
||||
|
||||
declare module "selfsigned" {
|
||||
export type SelfSignedCert = {
|
||||
export interface SelfSignedCert {
|
||||
private: string;
|
||||
public: string;
|
||||
cert: string;
|
||||
};
|
||||
}
|
||||
|
||||
type GenerateAttributes = Array<any>;
|
||||
|
||||
type GenerateOptions = {
|
||||
interface GenerateOptions {
|
||||
keySize?: number;
|
||||
days?: number;
|
||||
algorithm?: "sha1" | "sha256";
|
||||
@ -20,7 +20,7 @@
|
||||
pkcs7?: boolean;
|
||||
clientCertificate?: boolean;
|
||||
clientCertificateCN?: string;
|
||||
};
|
||||
}
|
||||
|
||||
export function generate(GenerateAttributes, GenerateOptions): SelfSignedCert;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user