Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Add type declerations for generator options #14

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Joehoel
Copy link

@Joehoel Joehoel commented Jan 21, 2022

First off there was a missing comma in the docs.

To have better intellisense when using this package I added type declarations for the generator options. And to match it up with the docs I changed the out option to output

export interface GQueryGenerateOptions {
    schema: string;
    output: string;
    gPath: string;
    debug?: boolean;
}

@height
Copy link

height bot commented Jan 21, 2022

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant