2.0.3 • Published 9 months ago

@item-enonic-types/lib-graphql v2.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

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/*"]
    }
  }
}