react-sortable-hoc icon indicating copy to clipboard operation
react-sortable-hoc copied to clipboard

add more typescript tips

Open noonehide opened this issue 4 years ago • 0 comments

ts project need more ts tips

export function sortableContainer<P>(
  wrappedComponent: WrappedComponent<P>,
  config?: Config,
): React.ComponentClass<P & SortableContainerProps>;

export function sortableElement<P>(
  wrappedComponent: WrappedComponent<P>,
  config?: Config,
): React.ComponentClass<P & SortableElementProps>;

export function sortableHandle<P>(
  wrappedComponent: WrappedComponent<P>,
  config?: Config,
): React.ComponentClass<P>;

noonehide avatar May 27 '21 09:05 noonehide