npm.io
0.2.8 • Published 3 weeks ago

@aws-lite/s3-types

Licence
Apache-2.0
Version
0.2.8
Deps
1
Size
58 kB
Vulns
0
Weekly
0
Stars
329

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" />