From 22d19d3355ba821c829ff01184eb412752bccb6b Mon Sep 17 00:00:00 2001 From: Eric Maciel Date: Wed, 23 Feb 2022 16:51:26 -0500 Subject: [PATCH] fix: custom slate type --- package.json | 2 +- src/client/custom-slate-types.ts | 2 +- tsconfig.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d39f111..4ff35fe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hiveteams/collab", - "version": "1.0.1", + "version": "1.0.2", "description": "Slate collaborative editing", "scripts": { "format": "prettier --write", diff --git a/src/client/custom-slate-types.ts b/src/client/custom-slate-types.ts index 230648d..dd61c22 100644 --- a/src/client/custom-slate-types.ts +++ b/src/client/custom-slate-types.ts @@ -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 diff --git a/tsconfig.json b/tsconfig.json index 7dc042c..c88ca87 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,6 +12,6 @@ "strict": true, "suppressImplicitAnyIndexErrors": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "build"], "include": ["**/*.ts", "**/*.tsx"] }