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",
|
"name": "@hiveteams/collab",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"description": "Slate collaborative editing",
|
"description": "Slate collaborative editing",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"format": "prettier --write",
|
"format": "prettier --write",
|
||||||
|
@ -13,7 +13,7 @@ export type CustomRange = {
|
|||||||
isCaret?: boolean
|
isCaret?: boolean
|
||||||
} & BaseRange
|
} & BaseRange
|
||||||
|
|
||||||
export type FormattedText = { text: string; bold?: true }
|
export type FormattedText = { text: string; bold?: boolean }
|
||||||
|
|
||||||
export type CustomText = FormattedText
|
export type CustomText = FormattedText
|
||||||
|
|
||||||
|
@ -12,6 +12,6 @@
|
|||||||
"strict": true,
|
"strict": true,
|
||||||
"suppressImplicitAnyIndexErrors": true
|
"suppressImplicitAnyIndexErrors": true
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules"],
|
"exclude": ["node_modules", "build"],
|
||||||
"include": ["**/*.ts", "**/*.tsx"]
|
"include": ["**/*.ts", "**/*.tsx"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user