@types/enzyme
Advanced tools
Comparing version 3.1.9 to 3.1.10
@@ -26,3 +26,3 @@ // Type definitions for Enzyme 3.1 | ||
export interface ComponentClass<Props> { | ||
new(props?: Props, context?: any): Component<Props, any>; | ||
new(props: Props, context?: any): Component<Props>; | ||
} | ||
@@ -358,3 +358,3 @@ | ||
// tslint:disable-next-line no-empty-interface | ||
export interface ShallowWrapper<P = {}, S = {}> extends CommonWrapper<P, S> {} | ||
export interface ShallowWrapper<P = {}, S = {}> extends CommonWrapper<P, S> { } | ||
export class ShallowWrapper<P = {}, S = {}> { | ||
@@ -445,3 +445,3 @@ constructor(nodes: JSX.Element[] | JSX.Element, root?: ShallowWrapper<any, any>, options?: ShallowRendererProps); | ||
// tslint:disable-next-line no-empty-interface | ||
export interface ReactWrapper<P = {}, S = {}> extends CommonWrapper<P, S> {} | ||
export interface ReactWrapper<P = {}, S = {}> extends CommonWrapper<P, S> { } | ||
export class ReactWrapper<P = {}, S = {}> { | ||
@@ -583,3 +583,3 @@ constructor(nodes: JSX.Element | JSX.Element[], root?: ReactWrapper<any, any>, options?: MountRendererProps); | ||
*/ | ||
attachTo?: HTMLElement; | ||
attachTo?: HTMLElement | null; | ||
/** | ||
@@ -586,0 +586,0 @@ * Merged contextTypes for all children of the wrapper |
{ | ||
"name": "@types/enzyme", | ||
"version": "3.1.9", | ||
"version": "3.1.10", | ||
"description": "TypeScript definitions for Enzyme", | ||
@@ -52,4 +52,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "7aa11dc960d3d0e9b7ac342d672d8f5283a5bfeca5e12991de6a2dfd0a1ca3fd", | ||
"typesPublisherContentHash": "5eac36d21f922a5b86800ef3b6dff4a2db72fa5c7e342948e677460748ca675a", | ||
"typeScriptVersion": "2.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 12 Feb 2018 15:19:26 GMT | ||
* Last updated: Wed, 18 Apr 2018 17:04:44 GMT | ||
* Dependencies: react, cheerio | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
28462