@spark-web/utils
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -19,3 +19,3 @@ import type { ComponentPropsWithoutRef, ElementType, ReactElement, ReactNode, Ref } from 'react'; | ||
as?: ElementType<any> | undefined; | ||
}, ref: React.Ref<any>) => Exclude<ReactNode, undefined>) => CompWithAsProp<BaseProps, DefaultElementType>; | ||
}, ref: Ref<any>) => Exclude<ReactNode, undefined>) => CompWithAsProp<BaseProps, DefaultElementType>; | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
import type * as React from 'react'; | ||
import type { MutableRefObject } from 'react'; | ||
/** | ||
@@ -10,3 +10,3 @@ * React.Ref uses the readonly type `React.RefObject` instead of | ||
bivarianceHack(instance: ValueType | null): void; | ||
}['bivarianceHack'] | React.MutableRefObject<ValueType | null>; | ||
}['bivarianceHack'] | MutableRefObject<ValueType | null>; | ||
/** | ||
@@ -13,0 +13,0 @@ * Type can be either a single `ValueType` or an array of `ValueType` |
{ | ||
"main": "dist/spark-web-utils-internal.cjs.js", | ||
"module": "dist/spark-web-utils-internal.esm.js" | ||
"module": "dist/spark-web-utils-internal.esm.js", | ||
"files": [ | ||
"dist" | ||
] | ||
} |
{ | ||
"name": "@spark-web/utils", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"license": "MIT", | ||
"main": "dist/spark-web-utils.cjs.js", | ||
"module": "dist/spark-web-utils.esm.js", | ||
"files": [ | ||
"dist", | ||
"internal", | ||
"ts" | ||
], | ||
"dependencies": { | ||
@@ -8,0 +13,0 @@ "@babel/runtime": "^7.14.6" |
{ | ||
"main": "dist/spark-web-utils-ts.cjs.js", | ||
"module": "dist/spark-web-utils-ts.esm.js" | ||
"module": "dist/spark-web-utils-ts.esm.js", | ||
"files": [ | ||
"dist" | ||
] | ||
} |
41701
36
1285