@types/cleave.js
Advanced tools
Comparing version 1.3.3 to 1.4.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for cleave.js 1.3 | ||
// Type definitions for cleave.js 1.4 | ||
// Project: https://github.com/nosir/cleave.js | ||
@@ -3,0 +3,0 @@ // Definitions by: C Lentfort <https://github.com/clentfort>, |
@@ -0,0 +0,0 @@ import Cleave = require("../"); |
@@ -0,0 +0,0 @@ import { CreditCardTypeChangeHandler } from "./creditCard"; |
{ | ||
"name": "@types/cleave.js", | ||
"version": "1.3.3", | ||
"version": "1.4.0", | ||
"description": "TypeScript definitions for cleave.js", | ||
@@ -24,2 +24,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
@@ -33,4 +34,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "998fad283245faea38e00f018f6b4a3205d2439801025b94ceab6c2a5d2175bb", | ||
"typesPublisherContentHash": "0ec2ebdbe77bc5bf612c1913ca2b34105223a460e4c17df95bb31ecff452fc1a", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -0,0 +0,0 @@ import * as React from "react"; |
@@ -6,2 +6,8 @@ import * as React from "react"; | ||
export interface ChangeEvent<T> extends React.ChangeEvent<T> { | ||
target: { rawValue: string } & EventTarget & T; | ||
} | ||
export type ChangeEventHandler<T = Element> = React.EventHandler<ChangeEvent<T>>; | ||
export interface Props extends React.InputHTMLAttributes<HTMLInputElement> { | ||
@@ -11,2 +17,3 @@ onInit?: InitHandler; | ||
htmlRef?: (i: any) => void; | ||
onChange?: ChangeEventHandler<HTMLInputElement>; | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for cleave.js (https://github.com/nosir/cleave.js). | ||
This package contains type definitions for cleave.js ( https://github.com/nosir/cleave.js ). | ||
@@ -12,4 +12,4 @@ # Details | ||
Additional Details | ||
* Last updated: Fri, 31 Aug 2018 23:40:46 GMT | ||
* Dependencies: react | ||
* Last updated: Fri, 01 Feb 2019 05:29:42 GMT | ||
* Dependencies: @types/react | ||
* Global values: none | ||
@@ -16,0 +16,0 @@ |
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
5982
100