@aws-lite/sns-types
v0.0.10
Published
Type definitions for the `@aws-lite/sns` plugin
Downloads
80
Readme
Install
Add to devDependencies
in package.json
:
npm i -D @aws-lite/sns-types
Be sure you also have @aws-lite/sns
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/sns-types"
]
}
}
Or use reference types
Either in individual files or in an index.d.ts
file.
/// <reference types="@aws-lite/sns-types" />
ymmv
/// <reference path="./node_modules/@aws-lite/sns-types/index.d.ts" />