Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphql-typed

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-typed - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

8

build/ts/index.d.ts

@@ -1,2 +0,2 @@

import { DocumentNode as BaseDocumentNode, Source, ParseOptions } from 'graphql';
import type { DocumentNode as BaseDocumentNode, Source, ParseOptions } from 'graphql';
export interface GraphQLOperation<Data = {}, Variables = {}, DeepPartial = {}> {

@@ -15,6 +15,6 @@ readonly __typeData?: Data;

}
export declare type GraphQLData<T> = T extends GraphQLOperation<infer Data, any, any> ? Data : never;
export declare type GraphQLVariables<T> = T extends GraphQLOperation<any, infer Variables, any> ? Variables : never;
export declare type GraphQLDeepPartial<T> = T extends GraphQLOperation<any, any, infer DeepPartial> ? DeepPartial : never;
export type GraphQLData<T> = T extends GraphQLOperation<infer Data, any, any> ? Data : never;
export type GraphQLVariables<T> = T extends GraphQLOperation<any, infer Variables, any> ? Variables : never;
export type GraphQLDeepPartial<T> = T extends GraphQLOperation<any, any, infer DeepPartial> ? DeepPartial : never;
export declare const parse: <Data = {}, Variables = {}, DeepPartial = {}>(source: string | Source, options?: ParseOptions) => DocumentNode<Data, Variables, DeepPartial>;
//# sourceMappingURL=index.d.ts.map

@@ -1,1 +0,1 @@

module.exports = require("./build/cjs/index.js");
module.exports = require("./build/cjs/index.js");
{
"name": "graphql-typed",
"version": "2.0.1",
"version": "2.0.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "A more strongly typed version of GraphQL's DocumentNode.",

@@ -12,3 +12,3 @@ # `graphql-typed`

```bash
$ yarn add graphql-typed
yarn add graphql-typed
```

@@ -15,0 +15,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc