lint: patch typescript ignored issues (#6450)

* Updates across multiple packages

* Release notes

* Enhance error handling in budget goals reducer by throwing an error when the template is null
This commit is contained in:
Matiss Janis Aboltins
2025-12-19 23:40:28 +00:00
committed by GitHub
parent b092681468
commit 4fc00ae7f1
118 changed files with 429 additions and 428 deletions

View File

@@ -1,11 +1,11 @@
import { ChangeEvent, ReactNode } from 'react';
import { type ChangeEvent, type ReactNode } from 'react';
import {
ColorPicker as AriaColorPicker,
ColorPickerProps as AriaColorPickerProps,
type ColorPickerProps as AriaColorPickerProps,
Dialog,
DialogTrigger,
ColorSwatch as AriaColorSwatch,
ColorSwatchProps,
type ColorSwatchProps,
ColorSwatchPicker as AriaColorSwatchPicker,
ColorSwatchPickerItem,
ColorField,
@@ -56,10 +56,10 @@ const DEFAULT_COLOR_SET = [
'#455A64',
];
interface ColorSwatchPickerProps {
type ColorSwatchPickerProps = {
columns?: number;
colorset?: string[];
}
};
function ColorSwatchPicker({
columns = 5,
@@ -123,11 +123,11 @@ function ColorSwatchPicker({
}
const isColor = (value: string) => /^#[0-9a-fA-F]{6}$/.test(value);
interface ColorPickerProps extends AriaColorPickerProps {
type ColorPickerProps = {
children?: ReactNode;
columns?: number;
colorset?: string[];
}
} & AriaColorPickerProps;
export function ColorPicker({
children,

View File

@@ -3,8 +3,8 @@ import {
cloneElement,
isValidElement,
type ReactElement,
Ref,
RefObject,
type Ref,
type RefObject,
useEffect,
useRef,
} from 'react';

View File

@@ -1,5 +1,5 @@
import * as React from 'react';
import { forwardRef, Ref } from 'react';
import { forwardRef, type Ref } from 'react';
import { render } from '@testing-library/react';

View File

@@ -1,6 +1,6 @@
import React, {
ChangeEvent,
ComponentPropsWithRef,
type ChangeEvent,
type ComponentPropsWithRef,
type KeyboardEvent,
type FocusEvent,
} from 'react';