New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wessberg/type

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wessberg/type - npm Package Compare versions

Comparing version 0.0.25 to 0.0.26

9

CHANGELOG.md

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

<a name="0.0.26"></a>
## 0.0.26 (2017-08-20)
* 0.0.26 ([6df298c](https://github.com/wessberg/Type/commit/6df298c))
* Bumped version ([666b8c2](https://github.com/wessberg/Type/commit/666b8c2))
* Renamed 'Parameter' to 'ParameterType' ([c10a3fc](https://github.com/wessberg/Type/commit/c10a3fc))
<a name="0.0.25"></a>

@@ -2,0 +11,0 @@ ## 0.0.25 (2017-08-20)

4

dist/es2015/parameter-type/i-parameter-type.d.ts

@@ -22,3 +22,3 @@ import { Type } from "../type/type";

}
export declare type Parameter = INormalParameterType | IObjectBindingParameterType | IArrayBindingParameterType;
export declare const parameterStringified = "\nexport interface IParameterType {\n\tkind: BindingNameKind;\n\tisRestSpread: boolean;\n\toptional: boolean;\n\ttype: Type;\n}\n\nexport interface INormalParameterType extends IParameterType {\n\tkind: BindingNameKind.NORMAL;\n\tname: string;\n}\n\nexport interface IObjectBindingParameterType extends IParameterType {\n\tkind: BindingNameKind.OBJECT_BINDING;\n\tbindings: IObjectBindingName[];\n}\n\nexport interface IArrayBindingParameterType extends IParameterType {\n\tkind: BindingNameKind.ARRAY_BINDING;\n\tbindings: ArrayBindingName[];\n}\n\nexport declare type Parameter = INormalParameterType|IObjectBindingParameterType|IArrayBindingParameterType;\n";
export declare type ParameterType = INormalParameterType | IObjectBindingParameterType | IArrayBindingParameterType;
export declare const parameterStringified = "\nexport interface IParameterType {\n\tkind: BindingNameKind;\n\tisRestSpread: boolean;\n\toptional: boolean;\n\ttype: Type;\n}\n\nexport interface INormalParameterType extends IParameterType {\n\tkind: BindingNameKind.NORMAL;\n\tname: string;\n}\n\nexport interface IObjectBindingParameterType extends IParameterType {\n\tkind: BindingNameKind.OBJECT_BINDING;\n\tbindings: IObjectBindingName[];\n}\n\nexport interface IArrayBindingParameterType extends IParameterType {\n\tkind: BindingNameKind.ARRAY_BINDING;\n\tbindings: ArrayBindingName[];\n}\n\nexport declare type ParameterType = INormalParameterType|IObjectBindingParameterType|IArrayBindingParameterType;\n";

@@ -24,4 +24,4 @@ export const parameterStringified = `

export declare type Parameter = INormalParameterType|IObjectBindingParameterType|IArrayBindingParameterType;
export declare type ParameterType = INormalParameterType|IObjectBindingParameterType|IArrayBindingParameterType;
`;
//# sourceMappingURL=i-parameter-type.js.map
import { TypeKind } from "../type-kind/type-kind";
import { Type } from "./type";
import { IInterfaceTypeMember } from "../interface-type/i-interface-type-member";
import { Parameter } from "../parameter-type/i-parameter-type";
import { ParameterType } from "../parameter-type/i-parameter-type";
export interface IType {

@@ -36,3 +36,3 @@ kind: TypeKind;

kind: TypeKind.FUNCTION;
parameters: Parameter[];
parameters: ParameterType[];
returns: Type;

@@ -39,0 +39,0 @@ }

@@ -22,3 +22,3 @@ import { Type } from "../type/type";

}
export declare type Parameter = INormalParameterType | IObjectBindingParameterType | IArrayBindingParameterType;
export declare const parameterStringified = "\nexport interface IParameterType {\n\tkind: BindingNameKind;\n\tisRestSpread: boolean;\n\toptional: boolean;\n\ttype: Type;\n}\n\nexport interface INormalParameterType extends IParameterType {\n\tkind: BindingNameKind.NORMAL;\n\tname: string;\n}\n\nexport interface IObjectBindingParameterType extends IParameterType {\n\tkind: BindingNameKind.OBJECT_BINDING;\n\tbindings: IObjectBindingName[];\n}\n\nexport interface IArrayBindingParameterType extends IParameterType {\n\tkind: BindingNameKind.ARRAY_BINDING;\n\tbindings: ArrayBindingName[];\n}\n\nexport declare type Parameter = INormalParameterType|IObjectBindingParameterType|IArrayBindingParameterType;\n";
export declare type ParameterType = INormalParameterType | IObjectBindingParameterType | IArrayBindingParameterType;
export declare const parameterStringified = "\nexport interface IParameterType {\n\tkind: BindingNameKind;\n\tisRestSpread: boolean;\n\toptional: boolean;\n\ttype: Type;\n}\n\nexport interface INormalParameterType extends IParameterType {\n\tkind: BindingNameKind.NORMAL;\n\tname: string;\n}\n\nexport interface IObjectBindingParameterType extends IParameterType {\n\tkind: BindingNameKind.OBJECT_BINDING;\n\tbindings: IObjectBindingName[];\n}\n\nexport interface IArrayBindingParameterType extends IParameterType {\n\tkind: BindingNameKind.ARRAY_BINDING;\n\tbindings: ArrayBindingName[];\n}\n\nexport declare type ParameterType = INormalParameterType|IObjectBindingParameterType|IArrayBindingParameterType;\n";

@@ -35,5 +35,5 @@ (function (factory) {

export declare type Parameter = INormalParameterType|IObjectBindingParameterType|IArrayBindingParameterType;
export declare type ParameterType = INormalParameterType|IObjectBindingParameterType|IArrayBindingParameterType;
`;
});
//# sourceMappingURL=i-parameter-type.js.map
import { TypeKind } from "../type-kind/type-kind";
import { Type } from "./type";
import { IInterfaceTypeMember } from "../interface-type/i-interface-type-member";
import { Parameter } from "../parameter-type/i-parameter-type";
import { ParameterType } from "../parameter-type/i-parameter-type";
export interface IType {

@@ -36,3 +36,3 @@ kind: TypeKind;

kind: TypeKind.FUNCTION;
parameters: Parameter[];
parameters: ParameterType[];
returns: Type;

@@ -39,0 +39,0 @@ }

{
"name": "@wessberg/type",
"version": "0.0.25",
"version": "0.0.26",
"description": "Type signatures and enums for model types.",

@@ -5,0 +5,0 @@ "scripts": {

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