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 {