https://github.com/ruliareader/package.types
This is the npm package that provides type definition of Rulia built-in functions for the Rulia plugins.
https://github.com/ruliareader/package.types
manga reader rulia typescript
Last synced: about 2 months ago
JSON representation
This is the npm package that provides type definition of Rulia built-in functions for the Rulia plugins.
- Host: GitHub
- URL: https://github.com/ruliareader/package.types
- Owner: RuliaReader
- Created: 2023-10-24T04:33:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-28T19:42:15.000Z (over 1 year ago)
- Last Synced: 2024-12-28T20:07:47.576Z (about 1 year ago)
- Topics: manga, reader, rulia, typescript
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @rulia/types
This package provides the type definition of the interaction functions for Rulia plugins.
If you don't use TypeScript, please ignore it.
## Quick start
1. Install:
```
npm install @rulia/types --save-dev
```
2. Update your `tsconfig.json`:
```json
{
"compilerOptions": {
"types": [
"@rulia/types"
]
}
}
```
3. From now on the editor you are using should give you code hint when you call something under `window.Rulia`.