@item-enonic-types/lib-text-encoding
v2.1.0
Published
TypeScript types for Enonic XP
Downloads
156
Readme
Item Enonic Types – Text-encoding Lib
Installation
Install @item-enonic-types/lib-text-encoding from npm by running:
npm i --save-dev @item-enonic-types/lib-text-encoding
Usage
To the types for the "/lib/text-encoding"
-module, you need to include the following in your tsconfig.json :
{
"compilerOptions": {
"baseUrl": "./",
"paths": {
"/lib/xp/*": ["./node_modules/@enonic-types/lib-*"],
"/lib/*": ["./node_modules/@item-enonic-types/lib-*" ,"./src/main/resources/lib/*"]
}
}
}