Skip to content

Commit 7624f67

Browse files
committed
fix index.ts to import
1 parent 74ba320 commit 7624f67

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { Validator } from "./Validator";
2+
3+
export { Validator };
4+
export default Validator;

src/tests/serviceInput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Validator } from '../Validator';
1+
import { Validator } from '../index';
22

33
async function validateInputs() {
44
const validator = new Validator('en');

0 commit comments

Comments
 (0)