@enonic-types/lib-react4xp
v4.0.0
Published
Type definitions for lib-react4xp.
Downloads
1,207
Readme
lib-react4p TS types
Install
npm i --save-dev @enonic-types/lib-react4xp
Use
Add the corresponding types to your tsconfig.json
file that is used for application's server-side TypeScript code:
{
"compilerOptions": {
"paths": {
"/lib/enonic/react4xp": ["node_modules/@enonic-types/lib-react4xp"],
},
"types": [
"@enonic-types/lib-react4xp"
]
}
}