File tree 5 files changed +5
-8
lines changed
5 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ import { APPCONFIG_TOKEN_EXPIRATION } from '../constants.js';
182
182
* For more usage examples, see [our documentation](https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/parameters/).
183
183
*/
184
184
class AppConfigProvider extends BaseProvider {
185
- public client ! : AppConfigDataClient ;
185
+ public declare client : AppConfigDataClient ;
186
186
protected configurationTokenStore = new Map <
187
187
string ,
188
188
{ value : string ; expiration : number }
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ import type { JSONValue } from '@aws-lambda-powertools/commons/types';
235
235
* For more usage examples, see [our documentation](https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/parameters/).
236
236
*/
237
237
class DynamoDBProvider extends BaseProvider {
238
- public client ! : DynamoDBClient ;
238
+ public declare client : DynamoDBClient ;
239
239
protected keyAttr = 'id' ;
240
240
protected sortAttr = 'sk' ;
241
241
protected tableName : string ;
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ import type {
145
145
* @see https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/parameters/
146
146
*/
147
147
class SecretsProvider extends BaseProvider {
148
- public client ! : SecretsManagerClient ;
148
+ public declare client : SecretsManagerClient ;
149
149
150
150
/**
151
151
* It initializes the SecretsProvider class.
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ import type { PaginationConfiguration } from '@aws-sdk/types';
267
267
* For more usage examples, see [our documentation](https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/parameters/).
268
268
*/
269
269
class SSMProvider extends BaseProvider {
270
- public client ! : SSMClient ;
270
+ public declare client : SSMClient ;
271
271
protected errorsKey = '_errors' ;
272
272
protected maxGetParametersItems = 10 ;
273
273
Original file line number Diff line number Diff line change @@ -13,10 +13,7 @@ import {
13
13
import { DEFAULT_MAX_AGE_SECS } from '../../src/constants.js' ;
14
14
import type { EnvironmentVariablesService } from '../../src/config/EnvironmentVariablesService.js' ;
15
15
import { ExpirableValue } from '../../src/base/ExpirableValue.js' ;
16
- import {
17
- GetParameterError ,
18
- TransformParameterError ,
19
- } from '../../src/errors.js' ;
16
+ import { GetParameterError , TransformParameterError } from '../../src/index.js' ;
20
17
import { toBase64 } from '@aws-sdk/util-base64-node' ;
21
18
22
19
const encoder = new TextEncoder ( ) ;
You can’t perform that action at this time.
0 commit comments