mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-17 17:48:06 +00:00
…
Types for writing AWS Synthetic Canaries using the syn-nodejs-puppeteer runtime.
Structure
The syn-nodejs-puppeteer runtime has an unusual structure - files are in node_modules with no package!
nodejs/node_modules/Synthetics.js
nodejs/node_modules/SyntheticsLogger.js
nodejs/node_modules/SyntheticsScreenshot.js
```
Because of this, every type definition file declares it's own module, similar to the approach used by [node types](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/), and you will need to import these types globally.
If you choose to define "types" in tsconfig, it must include this package for it to work.