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

Commit

Permalink
fix: update code for new ts build
Browse files Browse the repository at this point in the history
  • Loading branch information
javadbat committed Jun 27, 2024
1 parent 91f52fa commit 4c001af
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/JBDateInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useEffect, useRef, useState, useImperativeHandle, useCallback, D
import 'jb-date-input';
// eslint-disable-next-line no-duplicate-imports
import { JBDateInputWebComponent, JBDateInputInputTypes, JBDateInputValidationItem, JBDDateInputInboxElementWebComponent,JBDateInputValueObject } from 'jb-date-input';
import { useEvent } from '../../custom-hooks/UseEvent';
import { useEvent } from '../../../common/hooks/use-event';

export {JBDateInputInputTypes,JBDateInputValueObject};

Expand Down
18 changes: 18 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"compilerOptions": {
"baseUrl": "."
},
"include": [
"../../common/scripts/**/*.ts",
"../../common/hooks/**/*.ts",
"../../common/hooks/**/*.js",
"lib/**/*.ts",
"lib/**/*.tsx"
],
"exclude": [
"node_modules",
"**/*.spec.ts",
"dist",
],
"extends":"../tsconfig-react.json"
}

0 comments on commit 4c001af

Please sign in to comment.