apollo-codegen-typescript

  • Version 0.40.3
  • Published
  • 310 kB
  • 6 dependencies
  • MIT license

Install

npm i apollo-codegen-typescript
yarn add apollo-codegen-typescript
pnpm add apollo-codegen-typescript

Overview

TypeScript generator module for Apollo Codegen

Index

Functions

function generateGlobalSource

generateGlobalSource: (context: any) => TypescriptGeneratedFile;

    function generateLocalSource

    generateLocalSource: (context: any) => IGeneratedFile[];

      function generateSource

      generateSource: (
      context: any
      ) => {
      generatedFiles: {
      sourcePath: string;
      fileName: string;
      content: TypescriptGeneratedFile;
      }[];
      common: string;
      };

        Package Files (2)

        Dependencies (6)

        Dev Dependencies (0)

        No dev dependencies.

        Peer Dependencies (0)

        No peer dependencies.

        Badge

        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/apollo-codegen-typescript.

        • Markdown
          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/apollo-codegen-typescript)
        • HTML
          <a href="https://www.jsdocs.io/package/apollo-codegen-typescript"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>