To use this package in a Typescript project, simply install it from npm:
yarn add iina-plugin-definition
or
npm i iina-plugin-definition
Then add it to typeRoots
in tsconfig.json
:
{
"typeRoots": [
"./node_modules/@types",
"./node_modules/iina-plugin-definition"
],
}