1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 01:14:36 +00:00

fix: utilise utils types for HttpsAgentOptions

This commit is contained in:
Allan Bowe
2022-02-22 21:17:06 +00:00
parent 92434e48ad
commit 0170e67b13

View File

@@ -1,5 +1,6 @@
import * as https from 'https'
import { ServerType } from '@sasjs/utils/types'
import { HttpsAgentOptions } from '@sasjs/utils/types'
/**
* Specifies the configuration for the SASjs instance - eg where and how to
@@ -64,7 +65,7 @@ export class SASjsConfig {
* By providing `key`, `cert`, `ca` to connect with server
* Other options can be set `rejectUnauthorized` and `requestCert`
*/
httpsAgentOptions?: https.AgentOptions
httpsAgentOptions?: HttpsAgentOptions
/**
* Supported login mechanisms are - Redirected and Default
*/