From c7381738901bfb1d1f610d60d4ea2153f0e5094c Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 2 Dec 2024 15:53:21 +0100 Subject: [PATCH] Update to latest frontend-shared, which exposes preact 10.25 types --- package.json | 2 +- src/sidebar/components/MarkdownEditor.tsx | 2 +- src/sidebar/components/MenuArrow.tsx | 1 - yarn.lock | 12 ++++++------ 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index d8a1971e799..fdb9fcdfbc0 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "@babel/preset-react": "^7.0.0", "@babel/preset-typescript": "^7.16.7", "@hypothesis/frontend-build": "^3.0.0", - "@hypothesis/frontend-shared": "^8.10.2", + "@hypothesis/frontend-shared": "^8.12.0", "@hypothesis/frontend-testing": "^1.3.1", "@npmcli/arborist": "^8.0.0", "@octokit/rest": "^21.0.0", diff --git a/src/sidebar/components/MarkdownEditor.tsx b/src/sidebar/components/MarkdownEditor.tsx index 29229f28ebf..9938b9bb1de 100644 --- a/src/sidebar/components/MarkdownEditor.tsx +++ b/src/sidebar/components/MarkdownEditor.tsx @@ -182,7 +182,7 @@ function TextArea({ classes, containerRef, ...restProps -}: TextAreaProps & JSX.HTMLAttributes) { +}: TextAreaProps & JSX.TextareaHTMLAttributes) { return (