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

@types/kind-of

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/kind-of - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

4

kind-of/index.d.ts

@@ -23,3 +23,3 @@ // Type definitions for kind-of 6.0

declare function kind_of(
thing: Iterator<any>
thing: Iterator<any>,
):

@@ -32,3 +32,3 @@ | "generator"

declare function kind_of(
thing: (...args: any[]) => any
thing: (...args: any[]) => any,
): "function" | "generatorfunction";

@@ -35,0 +35,0 @@ declare function kind_of(thing: symbol): "symbol";

{
"name": "@types/kind-of",
"version": "6.0.0",
"version": "6.0.1",
"description": "TypeScript definitions for kind-of",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/kind-of",
"license": "MIT",

@@ -14,3 +15,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -25,4 +26,4 @@ "type": "git",

},
"typesPublisherContentHash": "131e97cc6357c3473f4eebce109e3486a3bcb62012c933ebac9d04fb72cb4f42",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "cbc750424b445d64072ae5091c48d10b72a5ee6aa753852e83161beb0b565cd0",
"typeScriptVersion": "4.5"
}

@@ -5,13 +5,65 @@ # Installation

# Summary
This package contains type definitions for kind-of ( https://github.com/jonschlinkert/kind-of ).
This package contains type definitions for kind-of (https://github.com/jonschlinkert/kind-of).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/kind-of
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/kind-of.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/kind-of/index.d.ts)
````ts
// Type definitions for kind-of 6.0
// Project: https://github.com/jonschlinkert/kind-of
// Definitions by: Claas Ahlrichs <https://github.com/claasahl>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Wed, 01 May 2019 23:02:43 GMT
* Dependencies: @types/node
// TypeScript Version: 2.7
/// <reference types="node" />
export = kind_of;
declare function kind_of(thing: undefined): "undefined";
declare function kind_of(thing: null): "null";
declare function kind_of(thing: boolean): "boolean";
declare function kind_of(thing: Buffer): "buffer";
declare function kind_of(thing: number): "number";
declare function kind_of(thing: string): "string";
declare function kind_of(thing: typeof arguments): "arguments";
declare function kind_of(thing: Date): "date";
declare function kind_of(thing: any[]): "array";
declare function kind_of(thing: RegExp): "regexp";
declare function kind_of(thing: Error): "error";
declare function kind_of(
thing: Iterator<any>,
):
| "generator"
| "stringiterator"
| "arrayiterator"
| "mapiterator"
| "setiterator";
declare function kind_of(
thing: (...args: any[]) => any,
): "function" | "generatorfunction";
declare function kind_of(thing: symbol): "symbol";
declare function kind_of(thing: Promise<any>): "promise";
declare function kind_of(thing: Map<any, any>): "map";
declare function kind_of(thing: WeakMap<any, any>): "weakmap";
declare function kind_of(thing: Set<any>): "set";
declare function kind_of(thing: WeakSet<any>): "weakset";
declare function kind_of(thing: Int8Array): "int8array";
declare function kind_of(thing: Uint8Array): "uint8array";
declare function kind_of(thing: Uint8ClampedArray): "uint8clampedarray";
declare function kind_of(thing: Int16Array): "int16array";
declare function kind_of(thing: Uint16Array): "uint16array";
declare function kind_of(thing: Int32Array): "int32array";
declare function kind_of(thing: Uint32Array): "uint32array";
declare function kind_of(thing: Float32Array): "float32array";
declare function kind_of(thing: Float64Array): "float64array";
declare function kind_of(thing: any): string;
````
### Additional Details
* Last updated: Thu, 14 Sep 2023 01:49:18 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by Claas Ahlrichs <https://github.com/claasahl>.
These definitions were written by [Claas Ahlrichs](https://github.com/claasahl).

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