This package provides the type definition of the interaction functions for Rulia plugins.
If you don't use TypeScript, please ignore it.
- Install:
npm install @rulia/types --save-dev
- Update your
tsconfig.json
:
{
"compilerOptions": {
"types": [
"@rulia/types"
]
}
}
- From now on the editor you are using should give you code hint when you call something under
window.Rulia
.