Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lightapis/arrive-type

A generic version of @types/arrive.
https://github.com/lightapis/arrive-type

arrive type types

Last synced: 7 days ago
JSON representation

A generic version of @types/arrive.

Awesome Lists containing this project

README

        

# arrive-type

A generic version of `@types/arrive`.

## Installation

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

## Configuration

Add to the `tsconfig.json` file:

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

## Usage

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

## Credits

- [DefinitelyTyped/DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped)
- [uzairfarooq/arrive](https://github.com/uzairfarooq/arrive)

## License

[MIT](./LICENSE)