[PR #83] [CLOSED] Added the exporting of the types #93

Closed
opened 2026-03-03 00:03:23 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/atulmy/gql-query-builder/pull/83
Author: @darkdarcool
Created: 6/14/2023
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 80339fb Added the exporting of the types

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 src/index.ts (+3 -0)

📄 Description

I added the exporting of types so you can do this and get intellisense in IDEs:

import { IQueryBuilderOptions, query } from 'gql-query-builder'
let options: IQueryBuilderOptions = {
      operation: 'xxxxx',
      variables: {
       ...
      },
      fields: []
}

This just adds more accessibility to the package, and doesn't affect anything other than just exporting the types


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/atulmy/gql-query-builder/pull/83 **Author:** [@darkdarcool](https://github.com/darkdarcool) **Created:** 6/14/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`80339fb`](https://github.com/atulmy/gql-query-builder/commit/80339fb24738a0ef578fa239c0287c70ab6f6a16) Added the exporting of the types ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/index.ts` (+3 -0) </details> ### 📄 Description I added the exporting of types so you can do this and get intellisense in IDEs: ```ts import { IQueryBuilderOptions, query } from 'gql-query-builder' let options: IQueryBuilderOptions = { operation: 'xxxxx', variables: { ... }, fields: [] } ``` This just adds more accessibility to the package, and doesn't affect anything other than just exporting the types --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 00:03:23 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/gql-query-builder#93
No description provided.