Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@txikijs/types

saghul341MIT24.12.0TypeScript support: included

TypeScript types for the txiki.js runtime

tjs, txiki, txikijs

readme

@txikijs/types

To use the typings in your TS project, install it via npm i @txikijs/types --save-dev

Then either add node_modules/@txikijs/types to the typeRoots in your tsconfig.json:

"typeRoots": [
    "node_modules/@txikijs/types",
    "node_modules/@types"
]

Or alternatively add import type from '@txikijs/types'; somewhere in your code.