mirror of
https://github.com/cudr/slate-collaborative.git
synced 2024-10-27 20:34:06 +00:00
fix: custom slate type
This commit is contained in:
parent
1c1708bf7b
commit
22d19d3355
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hiveteams/collab",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"description": "Slate collaborative editing",
|
||||
"scripts": {
|
||||
"format": "prettier --write",
|
||||
|
@ -13,7 +13,7 @@ export type CustomRange = {
|
||||
isCaret?: boolean
|
||||
} & BaseRange
|
||||
|
||||
export type FormattedText = { text: string; bold?: true }
|
||||
export type FormattedText = { text: string; bold?: boolean }
|
||||
|
||||
export type CustomText = FormattedText
|
||||
|
||||
|
@ -12,6 +12,6 @@
|
||||
"strict": true,
|
||||
"suppressImplicitAnyIndexErrors": true
|
||||
},
|
||||
"exclude": ["node_modules"],
|
||||
"exclude": ["node_modules", "build"],
|
||||
"include": ["**/*.ts", "**/*.tsx"]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user