Skip to content

Latest commit

 

History

History

graphql-playground

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Item Enonic Types – GraphQL Playground Lib

npm version

Installation

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

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

Usage

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