@aws-lite/cloudwatch-logs-types
v0.0.10
Published
Type definitions for the `@aws-lite/cloudwatch-logs` plugin
Downloads
2,285
Readme
Install
Add to devDependencies
in package.json
:
npm i -D @aws-lite/cloudwatch-logs-types
Be sure you also have @aws-lite/cloudwatch-logs
installed.
Usage and Config
Javascript VSCode Intellisense
In a Javascript project, the ambient types will be automatically loaded.
TypeScript tsconfig
Add this package to compilerOptions.types
Example:
{
"extends": "@tsconfig/node-lts/tsconfig.json",
"compilerOptions": {
"types": [
"@aws-lite/cloudwatch-logs-types"
]
}
}
Or use reference types
Either in individual files or in an index.d.ts
file.
/// <reference types="@aws-lite/cloudwatch-logs-types" />
ymmv
/// <reference path="./node_modules/@aws-lite/cloudwatch-logs-types/index.d.ts" />