babel-plugin-jsx-control-statements
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -1,5 +0,5 @@ | ||
declare function Choose(): any; | ||
declare function When(props: { condition: boolean }): any; | ||
declare function Otherwise(): any; | ||
declare function If(props: { condition: boolean }): any; | ||
declare function Choose(props: { children: React.ReactNode }): any; | ||
declare function When(props: { condition: boolean, children: React.ReactNode }): any; | ||
declare function Otherwise(props: { children: React.ReactNode }): any; | ||
declare function If(props: { condition: boolean, children: React.ReactNode }): any; | ||
declare function For<T>(props: { | ||
@@ -9,2 +9,3 @@ each: string; | ||
index?: string; | ||
children: React.ReactNode | ||
}): any; | ||
@@ -15,17 +16,2 @@ declare function For<T>(props: { | ||
}): any; | ||
declare function With(props: { [id: string]: any }): any; | ||
declare namespace JSX { | ||
type TChildren = | ||
| Element | ||
| string | ||
| number | ||
| boolean | ||
| ((props: any) => TChildren) | ||
| null | ||
| typeof undefined; | ||
interface IntrinsicAttributes { | ||
children?: TChildren | TChildren[]; | ||
} | ||
} | ||
declare function With(props: { [id: string]: any, children: React.ReactNode }): any; |
{ | ||
"name": "babel-plugin-jsx-control-statements", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "Neater control statements (if/for) for jsx", | ||
@@ -5,0 +5,0 @@ "author": { |
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
39484
564