File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -16,18 +16,18 @@ Add `markedit-api` to your (TypeScript) project's devDependencies:
1616``` json
1717{
1818 "devDependencies" : {
19- "markedit-api" : " https://github.com/MarkEdit-app/MarkEdit-api#v0.0.7 "
19+ "markedit-api" : " https://github.com/MarkEdit-app/MarkEdit-api#v0.0.8 "
2020 }
2121}
2222```
2323
2424Import types declarations with:
2525
2626``` ts
27- import type { } from ' markedit-api' ;
27+ import { MarkEdit } from ' markedit-api' ;
2828```
2929
30- There is a global object called ` MarkEdit ` that provides these interfaces:
30+ The ` MarkEdit ` object provides these interfaces:
3131
3232``` ts
3333interface MarkEdit {
Original file line number Diff line number Diff line change @@ -123,3 +123,5 @@ declare type TextRange = {
123123 from : number ;
124124 to : number ;
125125} ;
126+
127+ export { MarkEdit , TextEditable , TextRange } ;
Original file line number Diff line number Diff line change 11{
22 "name" : " markedit-api" ,
3- "version" : " 0.0.7 " ,
3+ "version" : " 0.0.8 " ,
44 "description" : " Type definitions for the latest MakrEdit API." ,
55 "main" : " " ,
66 "types" : " markedit.d.ts" ,
You can’t perform that action at this time.
0 commit comments