Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Commit

Permalink
combine imports
Browse files Browse the repository at this point in the history
  • Loading branch information
javadbat committed Nov 24, 2024
1 parent c84eb81 commit 15e295a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {JBDateInput,JBDateInputInputTypes} from './dist/JBDateInput.js';
export * from './dist/JBDateInput.js';
5 changes: 2 additions & 3 deletions lib/JBDateInput.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import React, { useEffect, useRef, useState, useImperativeHandle, useCallback, MutableRefObject, RefObject, ReactNode, forwardRef, DetailedHTMLProps, HTMLAttributes } from 'react';
import 'jb-date-input';
// eslint-disable-next-line no-duplicate-imports
import { JBDateInputWebComponent, type JBDateInputInputTypes, } from 'jb-date-input';
import { JBDateInputWebComponent,type ValidationValue, type JBDateInputValueObject, type InputType } from 'jb-date-input';
import { type ValidationItem } from 'jb-validation';
import { useEvent } from '../../../common/hooks/use-event.js';
import { type ValidationValue, type JBDateInputValueObject, type InputType } from 'jb-date-input/types';
// re-export imported types for easier use for user
export { type JBDateInputInputTypes, type JBDateInputValueObject, type ValidationItem, type ValidationValue };
export {type JBDateInputValueObject, type ValidationItem, type ValidationValue, InputType };
declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace JSX {
Expand Down

0 comments on commit 15e295a

Please sign in to comment.