Skip to content

Commit

Permalink
feat(cli): optimize typings
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Feb 27, 2020
1 parent 6013f95 commit 17a6ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/koishi-cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export * from 'koishi-core'
export * from 'koishi-utils'
export { AppConfig, PluginConfig } from './worker'

const { version } = require('../package')
const version = require('../package').version as string
export { version }

0 comments on commit 17a6ee9

Please sign in to comment.