@@ -5,7 +5,6 @@ import { ExpirableValue } from './ExpirableValue';
5
5
import { TRANSFORM_METHOD_BINARY , TRANSFORM_METHOD_JSON } from './constants' ;
6
6
import { GetParameterError , TransformParameterError } from './Exceptions' ;
7
7
import type { BaseProviderInterface , GetMultipleOptionsInterface , GetOptionsInterface , TransformOptions } from './types' ;
8
- import type { SecretsGetOptionsInterface } from './types/SecretsProvider' ;
9
8
10
9
// These providers are dinamycally intialized on first use of the helper functions
11
10
const DEFAULT_PROVIDERS : Record < string , BaseProvider > = { } ;
@@ -39,9 +38,8 @@ abstract class BaseProvider implements BaseProviderInterface {
39
38
* this should be an acceptable tradeoff.
40
39
*
41
40
* @param {string } name - Parameter name
42
- * @param {GetOptionsInterface|SecretsGetOptionsInterface } options - Options to configure maximum age, trasformation, AWS SDK options, or force fetch
41
+ * @param {GetOptionsInterface } options - Options to configure maximum age, trasformation, AWS SDK options, or force fetch
43
42
*/
44
- public async get ( name : string , options ?: SecretsGetOptionsInterface ) : Promise < undefined | string | Uint8Array | Record < string , unknown > > ;
45
43
public async get ( name : string , options ?: GetOptionsInterface ) : Promise < undefined | string | Uint8Array | Record < string , unknown > > {
46
44
const configs = new GetOptions ( options ) ;
47
45
const key = [ name , configs . transform ] . toString ( ) ;
0 commit comments