From 76475cc79bb9f69f0a47c685d3d6c768b8e2bc6b Mon Sep 17 00:00:00 2001 From: David Lechner Date: Wed, 18 May 2022 11:12:52 -0500 Subject: [PATCH] fix lint errors --- src/components/toolbar/ToolbarButton.tsx | 2 +- src/components/toolbar/types.ts | 3 ++- src/react-app-env.d.ts | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/toolbar/ToolbarButton.tsx b/src/components/toolbar/ToolbarButton.tsx index 33fc283a..a8435cda 100644 --- a/src/components/toolbar/ToolbarButton.tsx +++ b/src/components/toolbar/ToolbarButton.tsx @@ -3,7 +3,7 @@ import { Classes } from '@blueprintjs/core'; import { mergeProps } from '@react-aria/utils'; -import { AriaButtonProps } from '@react-types/button'; +import type { AriaButtonProps } from '@react-types/button'; import classNames from 'classnames'; import React, { useRef } from 'react'; import { FocusRing, useButton } from 'react-aria'; diff --git a/src/components/toolbar/types.ts b/src/components/toolbar/types.ts index 6b20a727..5df781ad 100644 --- a/src/components/toolbar/types.ts +++ b/src/components/toolbar/types.ts @@ -1,6 +1,7 @@ // SPDX-License-Identifier: MIT // Copyright (c) 2022 The Pybricks Authors -import { AriaLabelingProps, DOMProps } from '@react-types/shared'; + +import type { AriaLabelingProps, DOMProps } from '@react-types/shared'; export type ToolbarProps = { firstFocusableItemId: string; diff --git a/src/react-app-env.d.ts b/src/react-app-env.d.ts index c1ef2f52..222dc10e 100644 --- a/src/react-app-env.d.ts +++ b/src/react-app-env.d.ts @@ -2,7 +2,6 @@ // Copyright (c) 2022 The Pybricks Authors /// -/// /// declare namespace NodeJS {