@types/graphql-upload
Advanced tools
Comparing version 8.0.6 to 8.0.7
@@ -12,3 +12,3 @@ // Type definitions for graphql-upload 8.0 | ||
import { RequestHandler } from "express"; | ||
import { Middleware } from "koa"; | ||
import { DefaultContext, DefaultState, Middleware } from "koa"; | ||
import { ReadStream } from "fs-capacitor"; | ||
@@ -38,5 +38,5 @@ | ||
export function graphqlUploadKoa <StateT = any, CustomT = {}>( | ||
export function graphqlUploadKoa <StateT = DefaultState, ContextT = DefaultContext>( | ||
uploadOptions?: UploadOptions | ||
): Middleware<StateT, CustomT>; | ||
): Middleware<StateT, ContextT>; | ||
@@ -43,0 +43,0 @@ export const GraphQLUpload: GraphQLScalarType; |
{ | ||
"name": "@types/graphql-upload", | ||
"version": "8.0.6", | ||
"version": "8.0.7", | ||
"description": "TypeScript definitions for graphql-upload", | ||
@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql-upload", | ||
}, | ||
"typesPublisherContentHash": "587537a2f161dc0225092cfb6903bf1e86156caf16378b632c7d966615408857", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "654b5c42d0e67bcdc5c6e871432a04d5c6b8e92479b64d03f23f1c717eb66aa9", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -22,3 +22,3 @@ # Installation | ||
import { RequestHandler } from "express"; | ||
import { Middleware } from "koa"; | ||
import { DefaultContext, DefaultState, Middleware } from "koa"; | ||
import { ReadStream } from "fs-capacitor"; | ||
@@ -48,5 +48,5 @@ | ||
export function graphqlUploadKoa <StateT = any, CustomT = {}>( | ||
export function graphqlUploadKoa <StateT = DefaultState, ContextT = DefaultContext>( | ||
uploadOptions?: UploadOptions | ||
): Middleware<StateT, CustomT>; | ||
): Middleware<StateT, ContextT>; | ||
@@ -70,3 +70,3 @@ export const GraphQLUpload: GraphQLScalarType; | ||
### Additional Details | ||
* Last updated: Tue, 06 Jul 2021 20:33:08 GMT | ||
* Last updated: Mon, 23 Aug 2021 20:18:29 GMT | ||
* Dependencies: [@types/graphql](https://npmjs.com/package/@types/graphql), [@types/express](https://npmjs.com/package/@types/express), [@types/koa](https://npmjs.com/package/@types/koa), [@types/fs-capacitor](https://npmjs.com/package/@types/fs-capacitor) | ||
@@ -73,0 +73,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6053