Overload 1 of 2, '(attrs?: CertificateField[], opts?: SelfsignedOptions): GenerateResult', gave the following error.
Type 'true' is not assignable to type 'undefined'.
Overload 2 of 2, '(attrs?: CertificateField[], opts?: SelfsignedOptions, done?: (err: Error, result: GenerateResult) => any): void', gave the following error.
Type 'true' is not assignable to type 'undefined'.
I would expect index.d.ts line 32: clientCertificate?: undefined
to be clientCertificate?: boolean
Furthermore the SelfsignedOptions interface seems to miss the keyPair attribute.
Bump;
KeyPair is still not an attribute of interface SelfsignedOptions in the index.d.ts even though it's advertised to be used (and is used in the Javascript-Code).
Hi,
there seems to be an issue with type definition:
I would expect index.d.ts line 32:
clientCertificate?: undefined
to beclientCertificate?: boolean
Furthermore the SelfsignedOptions interface seems to miss thekeyPair
attribute.Best regards, Hans