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

rename index -> mod

上级 ac5e11ef
...@@ -28,7 +28,7 @@ import { ...@@ -28,7 +28,7 @@ import {
PuppetServerOptions, PuppetServerOptions,
} from 'wechaty-puppet-hostie' } from 'wechaty-puppet-hostie'
import { Message } from './user' import { Message } from './user/mod'
import { import {
log, log,
......
...@@ -33,7 +33,7 @@ export { ...@@ -33,7 +33,7 @@ export {
/** /**
* We need to put `Wechaty` at the beginning of this file for import * 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 { export {
Wechaty, Wechaty,
...@@ -58,7 +58,7 @@ export { ...@@ -58,7 +58,7 @@ export {
RoomInvitation, RoomInvitation,
UrlLink, UrlLink,
MiniProgram, MiniProgram,
} from './user' } from './user/mod'
export { export {
} from './deprecated' } from './deprecated'
...@@ -67,3 +67,7 @@ export { IoClient } from './io-client' ...@@ -67,3 +67,7 @@ export { IoClient } from './io-client'
export { export {
Sayable, Sayable,
} from './types' } from './types'
export {
SayableMessage,
toSayableMessage,
} from './sayable-message'
...@@ -21,7 +21,7 @@ import { Wechaty } from './wechaty' ...@@ -21,7 +21,7 @@ import { Wechaty } from './wechaty'
import { import {
Contact, Contact,
Message, Message,
} from './user' } from './user/mod'
export type AnyFunction = (...args: any[]) => any export type AnyFunction = (...args: any[]) => any
......
...@@ -78,7 +78,7 @@ import { ...@@ -78,7 +78,7 @@ import {
RoomInvitation, RoomInvitation,
UrlLink, UrlLink,
MiniProgram, MiniProgram,
} from './user/' } from './user/mod'
import { timestampToDate } from './helper-functions/pure/timestamp-to-date' 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.
先完成此消息的编辑!
想要评论请 注册