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

common-types

Package Overview
Dependencies
Maintainers
1
Versions
308
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-types - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

2

lib/common-types.d.ts

@@ -43,3 +43,3 @@ /**

/** A Lambda function called to indicate the end-state of a lambda function */
export declare type LambdaCallback<T = IDictionary> = (error: any, response: T | ILambdaErrorResponse) => void;
export declare type LambdaCallback<T = IDictionary, E = ILambdaErrorResponse> = (error: any, response: T | E) => void;
export interface IAWSGatewayResponse {

@@ -46,0 +46,0 @@ statusCode: number;

{
"name": "common-types",
"version": "1.6.0",
"version": "1.6.1",
"description": "Common types not included in Typescript",

@@ -5,0 +5,0 @@ "main": "lib/common-types.js",

@@ -66,5 +66,5 @@ /**

/** A Lambda function called to indicate the end-state of a lambda function */
export type LambdaCallback<T = IDictionary> = (
export type LambdaCallback<T = IDictionary, E = ILambdaErrorResponse> = (
error: any,
response: T | ILambdaErrorResponse
response: T | E
) => void;

@@ -71,0 +71,0 @@

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