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

Commit 4c001af

Browse files
committed
fix: update code for new ts build
1 parent 91f52fa commit 4c001af

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

lib/JBDateInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { useEffect, useRef, useState, useImperativeHandle, useCallback, D
22
import 'jb-date-input';
33
// eslint-disable-next-line no-duplicate-imports
44
import { JBDateInputWebComponent, JBDateInputInputTypes, JBDateInputValidationItem, JBDDateInputInboxElementWebComponent,JBDateInputValueObject } from 'jb-date-input';
5-
import { useEvent } from '../../custom-hooks/UseEvent';
5+
import { useEvent } from '../../../common/hooks/use-event';
66

77
export {JBDateInputInputTypes,JBDateInputValueObject};
88

tsconfig.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": "."
4+
},
5+
"include": [
6+
"../../common/scripts/**/*.ts",
7+
"../../common/hooks/**/*.ts",
8+
"../../common/hooks/**/*.js",
9+
"lib/**/*.ts",
10+
"lib/**/*.tsx"
11+
],
12+
"exclude": [
13+
"node_modules",
14+
"**/*.spec.ts",
15+
"dist",
16+
],
17+
"extends":"../tsconfig-react.json"
18+
}

0 commit comments

Comments
 (0)