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

@types/classnames

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/classnames - npm Package Compare versions

Comparing version 2.2.7 to 2.2.8

classnames/types.d.ts

11

classnames/index.d.ts

@@ -9,15 +9,8 @@ // Type definitions for classnames 2.2

// Marvin Hagemeister <https://github.com/marvinhagemeister>
// Josh McCullough <https://github.com/joshmccullough>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
type ClassValue = string | number | ClassDictionary | ClassArray | undefined | null | boolean;
import { ClassValue } from './types';
interface ClassDictionary {
[id: string]: any;
}
// This is the only way I found to break circular references between ClassArray and ClassValue
// https://github.com/Microsoft/TypeScript/issues/3496#issuecomment-128553540
interface ClassArray extends Array<ClassValue> { } // tslint:disable-line no-empty-interface
type ClassNamesFn = (...classes: ClassValue[]) => string;

@@ -24,0 +17,0 @@

{
"name": "@types/classnames",
"version": "2.2.7",
"version": "2.2.8",
"description": "TypeScript definitions for classnames",

@@ -35,2 +35,7 @@ "license": "MIT",

"githubUsername": "marvinhagemeister"
},
{
"name": "Josh McCullough",
"url": "https://github.com/joshmccullough",
"githubUsername": "joshmccullough"
}

@@ -42,8 +47,9 @@ ],

"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/classnames"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "c6af750802b09b5ff73b5b4df82e5a11136ee5661b3bedca9f3fdddebdadba01",
"typesPublisherContentHash": "0e76d780a00272dfa869e3d46e9c9c6ea29a5c5f89decd01701910ff7e55af79",
"typeScriptVersion": "2.3"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for classnames (https://github.com/JedWatson/classnames).
This package contains type definitions for classnames ( https://github.com/JedWatson/classnames ).

@@ -12,3 +12,3 @@ # Details

Additional Details
* Last updated: Fri, 04 Jan 2019 18:32:49 GMT
* Last updated: Thu, 30 May 2019 18:12:23 GMT
* Dependencies: none

@@ -18,2 +18,2 @@ * Global values: classNames

# Credits
These definitions were written by Dave Keen <http://www.keendevelopment.ch>, Adi Dahiya <https://github.com/adidahiya>, Jason Killian <https://github.com/JKillian>, Sean Kelley <https://github.com/seansfkelley>, Michal Adamczyk <https://github.com/mradamczyk>, Marvin Hagemeister <https://github.com/marvinhagemeister>.
These definitions were written by Dave Keen <http://www.keendevelopment.ch>, Adi Dahiya <https://github.com/adidahiya>, Jason Killian <https://github.com/JKillian>, Sean Kelley <https://github.com/seansfkelley>, Michal Adamczyk <https://github.com/mradamczyk>, Marvin Hagemeister <https://github.com/marvinhagemeister>, Josh McCullough <https://github.com/joshmccullough>.
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