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