generated from jblossomweb/vite-scaffold-2023
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
type fix: temp patch for MathiasGilson/Tailwind-Styled-Component#100
- Loading branch information
1 parent
7f3c968
commit ec883c1
Showing
3 changed files
with
288 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/node_modules/tailwind-styled-components/dist/tailwind.d.ts b/node_modules/tailwind-styled-components/dist/tailwind.d.ts | ||
index 58795f3..d65c690 100644 | ||
--- a/node_modules/tailwind-styled-components/dist/tailwind.d.ts | ||
+++ b/node_modules/tailwind-styled-components/dist/tailwind.d.ts | ||
@@ -24,8 +24,8 @@ export declare type RemoveIndex<T> = { | ||
*/ | ||
export declare type TailwindExoticComponent<P> = PickU<React.ForwardRefExoticComponent<P>, keyof React.ForwardRefExoticComponent<any>>; | ||
declare type MergeProps<O extends object, P extends {} = {}> = P extends any ? IsAny<P, RemoveIndex<P> & O, P & O> : never; | ||
-declare type TailwindPropHelper<P, O extends object = {}> = PickU<MergeProps<O, P>, keyof MergeProps<O, P>>; | ||
-declare type TailwindComponentPropsWith$As<P extends object, O extends object, $As extends string | React.ComponentType<any> = React.ComponentType<P>, P2 = $As extends AnyTailwindComponent ? TailwindComponentAllInnerProps<$As> : $As extends IntrinsicElementsKeys | React.ComponentType<any> ? React.ComponentPropsWithRef<$As> : never> = P & O & TailwindPropHelper<P2> & { | ||
+declare type TailwindPropHelper<P extends object = {}, O extends object = {}> = PickU<MergeProps<O, P>, keyof MergeProps<O, P>>; | ||
+declare type TailwindComponentPropsWith$As<P extends object, O extends object, $As extends string | React.ComponentType<any> = React.ComponentType<P>, P2 extends object = $As extends AnyTailwindComponent ? TailwindComponentAllInnerProps<$As> : $As extends IntrinsicElementsKeys | React.ComponentType<any> ? React.ComponentPropsWithRef<$As> : never> = P & O & TailwindPropHelper<P2> & { | ||
$as?: $As; | ||
}; | ||
/** |