@item-enonic-types/lib-http-client
v3.2.1
Published
TypeScript types for Enonic XP lib lib-http-client
Downloads
705
Readme
Item Enonic Types – Http Client Lib
Installation
Install @item-enonic-types/lib-http-client from npm by running:
npm i --save-dev @item-enonic-types/lib-http-client
Usage
To the types for the "/lib/http-client"
-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/*"]
}
}
}