packageDocumentation module internal export class CustomRequestOptions { private _customOptions ? : { [ index ] : string ; } ; public setCustomOptions ( customOptions ? ) { this . _customOptions = customOptions ; } public insertCustomOptions ( customOptions ) { if ( ! this . _customOptions ) { return customOptions ; } if ( ! customOptions ) { customOptions = { } ; } customOptions = { ... customOptions , ... this . _customOptions } ; return customOptions ; } public get isSet ( ) : boolean { return null != this . _customOptions ; } }