react-modal-global
Advanced tools
Comparing version 0.9.6 to 0.9.7
@@ -54,3 +54,3 @@ import { FunctionComponent, Component } from 'react'; | ||
declare class Modal { | ||
static open<P extends object = {}, AC extends Partial<ModalParams> & P = Partial<ModalParams> & P>(component: ModalComponent<P>, ...[params]: P extends object ? [AC] : [AC?]): { | ||
static open<P extends object = {}, AC extends Partial<ModalParams> & P = Partial<ModalParams> & P>(component: ModalComponent<P>, ...[params]: keyof P extends never ? [AC?] : [AC]): { | ||
promise: Promise<void>; | ||
@@ -57,0 +57,0 @@ window: ModalWindow<AC>; |
{ | ||
"name": "react-modal-global", | ||
"version": "0.9.6", | ||
"version": "0.9.7", | ||
"description": "React Modal but Global", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.ts", |
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
14529