Skip to content

Commit 3aa6ce9

Browse files
committed
feat(index): 导出 types
1 parent 0f65480 commit 3aa6ce9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ohbug/miniapp",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Ohbug 小程序 SDK 用于小程序平台(支持微信、字节跳动、支付宝、QQ 小程序)",
55
"author": "chenyueban <[email protected]>",
66
"homepage": "https://github.com/ohbug-org/ohbug-miniapp",

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { MiniAppClient } from './client'
2+
import * as types from './types'
23

3-
export { MiniAppClient as Client }
4+
export { MiniAppClient as Client, types }
45
export default MiniAppClient

0 commit comments

Comments
 (0)