tidy(ui): clean up unused code 4

variables, types and schemas
This commit is contained in:
psychedelicious
2024-02-27 17:46:13 +11:00
parent dc64089c9d
commit b661d93bd8
26 changed files with 72 additions and 217 deletions

View File

@ -1,7 +1,7 @@
// https://stackoverflow.com/a/73731908
import { useCallback, useEffect, useState } from 'react';
export type UseSingleAndDoubleClickOptions = {
type UseSingleAndDoubleClickOptions = {
onSingleClick: () => void;
onDoubleClick: () => void;
latency?: number;

View File

@ -1,7 +1,5 @@
export type JSONValue = string | number | boolean | null | JSONValue[] | { [key: string]: JSONValue };
type JSONValue = string | number | boolean | null | JSONValue[] | { [key: string]: JSONValue };
export interface JSONObject {
[k: string]: JSONValue;
}
export interface JSONArray extends Array<JSONValue> {}

View File

@ -1,7 +1,7 @@
import { NUMPY_RAND_MAX, NUMPY_RAND_MIN } from 'app/constants';
import { random } from 'lodash-es';
export type GenerateSeedsArg = {
type GenerateSeedsArg = {
count: number;
start?: number;
min?: number;