Skip to content

Commit 60e4d99

Browse files
committed
fix: remove import suffix
1 parent 5e7cd5f commit 60e4d99

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { EMPTY_STR } from './constants'
2-
import { flattenObject } from './utils/flat.ts'
3-
import { convertToJsDoc } from './utils/convert.ts'
2+
import { flattenObject } from './utils/flat'
3+
import { convertToJsDoc } from './utils/convert'
44
import type { ConvertOption } from './types/global'
55

66
/**

src/utils/convert.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { DOT, EMPTY_STR, ROOT_TYPE_NAME } from '../constants'
22
import { ConvertOption, type CustomType, type Property } from '../types/global'
3-
import { detectValType } from './type-detect.ts'
3+
import { detectValType } from './type-detect'
44
import { pascalCase } from 'change-case'
55
import pluralize from 'pluralize-esm'
66

src/utils/flat.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
/**
2-
*
3-
* @author shiloh
4-
* @date 2025/4/23 17:50
5-
*/
6-
71
/**
82
* 展开对象
93
* @param obj 要展开的对象

0 commit comments

Comments
 (0)