Skip to content

Commit 2744dd1

Browse files
authored
🤖 Merge PR DefinitelyTyped#74381 Update README with guidance on updating the types by @Tantalon
1 parent b022b2d commit 2744dd1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎types/aws-synthetics-puppeteer/README.md‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Types for writing AWS Synthetic Canaries using the syn-nodejs-puppeteer runtime.
33
### Structure
44

55
The syn-nodejs-puppeteer runtime has an unusual structure - files are in node_modules with no package!
6-
````
6+
```
77
nodejs/node_modules/Synthetics.js
88
nodejs/node_modules/SyntheticsLogger.js
99
nodejs/node_modules/SyntheticsScreenshot.js
@@ -13,3 +13,10 @@ Because of this, every type definition file declares it's own module, similar to
1313

1414
If you choose to define "types" in tsconfig, it must include this package for it to work.
1515

16+
### Contributions
17+
18+
Please ensure that changes are aligned with the runtime.
19+
You can download the runtime with this command (you need to be logged into AWS, any account will do):
20+
```
21+
aws lambda get-layer-version-by-arn --arn arn:aws:lambda:us-east-1:378653112637:layer:Synthetics:73 --query Content.Location --output text
22+
```

0 commit comments

Comments
 (0)