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 @@ -181,7 +181,7 @@ import type {
181
181
* For more usage examples, see [our documentation](https://docs.powertools.aws.dev/lambda-typescript/latest/utilities/parameters/).
182
182
*/
183
183
class AppConfigProvider extends BaseProvider {
184
- public client ! : AppConfigDataClient ;
184
+ public declare client : AppConfigDataClient ;
185
185
protected configurationTokenStore = new Map < string , string > ( ) ;
186
186
protected valueStore = new Map < string , Uint8Array > ( ) ;
187
187
private application ?: string ;
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 @@ -262,7 +262,7 @@ import type { PaginationConfiguration } from '@aws-sdk/types';
262
262
* For more usage examples, see [our documentation](https://docs.powertools.aws.dev/lambda-typescript/latest/utilities/parameters/).
263
263
*/
264
264
class SSMProvider extends BaseProvider {
265
- public client ! : SSMClient ;
265
+ public declare client : SSMClient ;
266
266
protected errorsKey = '_errors' ;
267
267
protected maxGetParametersItems = 10 ;
268
268
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