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:
1 parent
fb72150214
commit
dcd58a7cbc
1 file changed
+4
-4
Vendored
+4
-4
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user