3.0.0 • Published 2 years ago

@item-enonic-types/lib-router v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Item Enonic Types – Router Lib

npm version

Installation

Install @item-enonic-types/lib-router from npm by running:

npm i --save-dev @item-enonic-types/lib-router

Usage

To the types for the "/lib/router"-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/*"]
    }
  }
}