Skip to content

Commit

Permalink
fix: export PDClient as default from index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
baurine committed Jan 3, 2020
1 parent 6f2a2ad commit 6bb289a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pingcap-incubator/pd-client-js",
"version": "0.1.4",
"version": "0.1.5",
"description": "client js sdk for pd",
"keywords": [
"pd",
Expand Down
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
import PDClient from './pd-client'

export default PDClient

export * from './api'
export * from './pd-client'

0 comments on commit 6bb289a

Please sign in to comment.