From e8843ded5bf1f3d97b735ffe8f8553de46f9b18b Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Fri, 2 Jun 2023 15:01:04 -0500 Subject: Fix a bunch of type errors and add a type-check to the github workflows (#837) * Add yarn type-check * Rename to yarn typecheck * Fix a collection of type errors * Add typecheck to automated tests * add `dist` to exluded folders tsconfig --------- Co-authored-by: Ansh Nanda --- src/view/com/profile/ProfileHeader.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/view/com/profile/ProfileHeader.tsx') diff --git a/src/view/com/profile/ProfileHeader.tsx b/src/view/com/profile/ProfileHeader.tsx index 9b4df0989..46a6bb235 100644 --- a/src/view/com/profile/ProfileHeader.tsx +++ b/src/view/com/profile/ProfileHeader.tsx @@ -587,9 +587,9 @@ const styles = StyleSheet.create({ // Word wrapping appears fine on // mobile but overflows on desktop handle: isNative - ? undefined + ? {} : { - // eslint-disable-next-line + // @ts-ignore web only -prf wordBreak: 'break-all', }, -- cgit 1.4.1