File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ Key | Example
155
155
156
156
}
157
157
158
- export const myFunction = new Lambda();
158
+ const myFunction = new Lambda();
159
159
export const handler = myFunction.handler.bind(myFunction); // (1)
160
160
```
161
161
@@ -236,7 +236,7 @@ This is disabled by default to prevent sensitive info being logged
236
236
237
237
}
238
238
239
- export const myFunction = new Lambda();
239
+ const myFunction = new Lambda();
240
240
export const handler = myFunction.handler.bind(myFunction); // (1)
241
241
```
242
242
@@ -403,7 +403,7 @@ If you want to make sure that persistent attributes added **inside the handler f
403
403
404
404
}
405
405
406
- export const myFunction = new Lambda();
406
+ const myFunction = new Lambda();
407
407
export const handler = myFunction.handler.bind(myFunction); // (1)
408
408
```
409
409
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ import type {
99
99
* }
100
100
* }
101
101
*
102
- * export const handlerClass = new Lambda();
102
+ * const handlerClass = new Lambda();
103
103
* export const handler = handlerClass.handler.bind(handlerClass);
104
104
* ```
105
105
*
Original file line number Diff line number Diff line change @@ -36,5 +36,5 @@ class Lambda implements LambdaInterface {
36
36
}
37
37
}
38
38
39
- export const myFunction = new Lambda ( ) ;
39
+ const myFunction = new Lambda ( ) ;
40
40
export const handler = myFunction . handler . bind ( myFunction ) ;
You can’t perform that action at this time.
0 commit comments