0.1.3 • Published 7 months ago

@dragonish/arrive-type v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

arrive-type

A generic version of @types/arrive.

Installation

npm install arrive
npm install @dragonish/arrive-type -D

Configuration

Add to the tsconfig.json file:

{
  "compilerOptions": {
    "typeRoots": [
      "./node_modules/@types",
      "./node_modules/@dragonish"
    ]
  }
}

Usage

document.arrive<HTMLImageElement>('img', img => {
  const src = img.src;
  // ...
});

Credits

License

MIT

0.1.3

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago