Skip to content

Commit

Permalink
fix: bug #27
Browse files Browse the repository at this point in the history
  • Loading branch information
kkfor committed Jul 5, 2019
1 parent 45352d0 commit 99c6938
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions doc/UPDATELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- 2019-07-05 v0.3.0
- 添加d.ts声明文件,修复bug [#27](https://github.com/kkfor/for-editor/issues/26)
- 2019-07-03 v0.2.9
- 修复bug [#26](https://github.com/kkfor/for-editor/issues/26)
- 2019-07-03 v0.2.8
Expand Down
4 changes: 4 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module 'for-editor' {
export default class ForEditor extends React.Component<any, any> {
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "for-editor",
"version": "0.2.9",
"version": "0.3.0",
"description": "react markdown editor",
"main": "dist/index.js",
"scripts": {
Expand All @@ -27,6 +27,7 @@
},
"files": [
"dist/",
"index.d.ts",
"LICENSE"
],
"homepage": "https://github.com/kkfor/for-editor#readme",
Expand Down

0 comments on commit 99c6938

Please sign in to comment.