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

babel-plugin-jsx-control-statements

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-jsx-control-statements - npm Package Compare versions

Comparing version 4.1.1 to 4.1.2

26

index.d.ts

@@ -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": {

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