npm.io
2.1.0 • Published 1 year ago

@item-enonic-types/lib-graphql

Licence
MIT
Version
2.1.0
Deps
0
Size
7 kB
Vulns
0
Weekly
0
Stars
9
DeprecatedThis package is deprecated

Item Enonic Types – GraphQL Lib

npm version

Installation

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

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

Usage

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

Keywords