fix: custom slate type

This commit is contained in:
Eric Maciel 2022-02-23 16:51:26 -05:00
parent 1c1708bf7b
commit 22d19d3355
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@hiveteams/collab",
"version": "1.0.1",
"version": "1.0.2",
"description": "Slate collaborative editing",
"scripts": {
"format": "prettier --write",

View File

@ -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

View File

@ -12,6 +12,6 @@
"strict": true,
"suppressImplicitAnyIndexErrors": true
},
"exclude": ["node_modules"],
"exclude": ["node_modules", "build"],
"include": ["**/*.ts", "**/*.tsx"]
}