Skip to content

Commit

Permalink
refactor: 更新types存放路径
Browse files Browse the repository at this point in the history
  • Loading branch information
HardenSG committed May 13, 2024
1 parent 9a7b49d commit 06220e3
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
/** 对象类型 */
export type TGeneralObject = { [key in string]: any }

export * from './helpers'
export * from './entity'
export * from './business'
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from 'src/types'
export * from './request'
export * from './types'
export * from './extraUiEffect'
export * from './format'
export * from './storage'
Expand Down
3 changes: 1 addition & 2 deletions src/utils/request/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { TGeneralObject } from 'src/types'
import { TGeneralObject, DefinedEnumKeys } from 'src/types'
import Taro from '@tarojs/taro'
import { DefinedEnumKeys } from '../types/helpers/enumHelper'
import { request } from './business'
import { BUSINESS_API_ROOT_PATH, BUSINESS_DOMAIN } from './constants'
import { TCustomRequestParams, TResponseType, baseRequest } from './request'
Expand Down

0 comments on commit 06220e3

Please sign in to comment.