mirror of
https://github.com/zos-apps/config.git
synced 2026-11-04 17:34:49 +00:00
24 lines
774 B
TypeScript
24 lines
774 B
TypeScript
export { AppComponent, AppProps, DifficultyLevel, Direction, Direction8, GameState, Grid, HighScoreEntry, KeyMap, OverlayState, Point, Rect, Size, TimerState } from './types.js';
|
|
export { useAnimationFrame, useDebounce, useGameLoop, useGameState, useGrid, useHighScore, useKeyboard, useLocalStorage, usePrevious, useTimer, useWindowSize } from './hooks.js';
|
|
import 'react';
|
|
|
|
/**
|
|
* Type declarations for tsup.base.js
|
|
*/
|
|
|
|
interface TsupBaseConfig {
|
|
entry: string[];
|
|
format: string[];
|
|
dts: boolean;
|
|
sourcemap: boolean;
|
|
clean: boolean;
|
|
external: string[];
|
|
treeshake: boolean;
|
|
minify: boolean;
|
|
}
|
|
|
|
declare const baseConfig: TsupBaseConfig;
|
|
declare function createConfig(overrides?: Partial<TsupBaseConfig>): TsupBaseConfig;
|
|
|
|
export { baseConfig, createConfig };
|