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