Commit 9e7d311
authored
fix(aws-lambda): jsii use no long requires 'sourceAccount' (#728)
Change the typing of 'sourceAccount' to be optional string, so that the
typing over JSII will be properly inferred. The current type is 'any' so
that we can pass in Tokens, but since the Token stringification change
typing as a string no longer forms an obstacle, and in fact it will be
more inline with upcoming type system changes.
Fixed #714.1 parent b0f3857 commit 9e7d311
File tree
3 files changed
+3
-3
lines changed- packages/@aws-cdk/aws-lambda
- lib
- test
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
0 commit comments