Skip to content

Commit 18bdd7b

Browse files
committed
update types
Signed-off-by: Kirill Mokevnin <[email protected]>
1 parent 0d2e0b9 commit 18bdd7b

File tree

10 files changed

+469
-529
lines changed

10 files changed

+469
-529
lines changed

lib/data.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { faker } from '@faker-js/faker'
22

33
/**
4-
* @param {Partial<import('../types.js').User>} params
4+
* @param {Partial<import('../types/index.ts').User>} params
55
*/
66
export function buildUser(params = {}) {
77
const user = {
@@ -13,7 +13,7 @@ export function buildUser(params = {}) {
1313
}
1414

1515
/**
16-
* @param {Partial<import('../types.js').Course>} params
16+
* @param {Partial<import('../types/index.ts').Course>} params
1717
*/
1818
export function buildCourse(params = {}) {
1919
const user = {
@@ -26,7 +26,7 @@ export function buildCourse(params = {}) {
2626
}
2727

2828
/**
29-
* @param {Partial<import('../types.js').CourseLesson>} params
29+
* @param {Partial<import('../types/index.ts').CourseLesson>} params
3030
*/
3131
export function buildCourseLesson(params = {}) {
3232
const lesson = {

0 commit comments

Comments
 (0)