提交 4d2b6971 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

rename index -> mod

上级 ac5e11ef
......@@ -28,7 +28,7 @@ import {
PuppetServerOptions,
} from 'wechaty-puppet-hostie'
import { Message } from './user'
import { Message } from './user/mod'
import {
log,
......
......@@ -33,7 +33,7 @@ export {
/**
* We need to put `Wechaty` at the beginning of this file for import
* because we have circluar dependencies between `Puppet` & `Wechaty`
* because we have circular dependencies between `Puppet` & `Wechaty`
*/
export {
Wechaty,
......@@ -58,7 +58,7 @@ export {
RoomInvitation,
UrlLink,
MiniProgram,
} from './user'
} from './user/mod'
export {
} from './deprecated'
......@@ -67,3 +67,7 @@ export { IoClient } from './io-client'
export {
Sayable,
} from './types'
export {
SayableMessage,
toSayableMessage,
} from './sayable-message'
......@@ -21,7 +21,7 @@ import { Wechaty } from './wechaty'
import {
Contact,
Message,
} from './user'
} from './user/mod'
export type AnyFunction = (...args: any[]) => any
......
......@@ -78,7 +78,7 @@ import {
RoomInvitation,
UrlLink,
MiniProgram,
} from './user/'
} from './user/mod'
import { timestampToDate } from './helper-functions/pure/timestamp-to-date'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册