@ilokesto/utilinent 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ export interface RepeatProps extends Fallback {
5
5
  children: (index: number) => React.ReactNode;
6
6
  }
7
7
  type RepeatTagHelper<K extends keyof JSX.IntrinsicElements> = {
8
- (props: RepeatProps & ComponentPropsWithRef<K>): React.ReactNode;
8
+ (props: RepeatProps & Omit<ComponentPropsWithRef<K>, "children">): React.ReactNode;
9
9
  };
10
10
  export interface RepeatType {
11
11
  (props: RepeatProps): React.ReactNode;
@@ -9,8 +9,8 @@ export interface ShowProps<T = unknown> extends Fallback {
9
9
  children: React.ReactNode | ((item: NonNullable<T>) => React.ReactNode);
10
10
  }
11
11
  type ShowTagHelper<K extends keyof JSX.IntrinsicElements> = {
12
- <T extends unknown[]>(props: ShowPropsArray<T> & ComponentPropsWithRef<K>): React.ReactNode;
13
- <T extends unknown>(props: ShowProps<T> & ComponentPropsWithRef<K>): React.ReactNode;
12
+ <T extends unknown[]>(props: Omit<ComponentPropsWithRef<K>, "children"> & ShowPropsArray<T>): React.ReactNode;
13
+ <T extends unknown>(props: Omit<ComponentPropsWithRef<K>, "children"> & ShowProps<T>): React.ReactNode;
14
14
  };
15
15
  export interface ShowType {
16
16
  <T extends unknown[]>(props: ShowPropsArray<T>): React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilokesto/utilinent",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ilokesto/utilinent.git"