neue Homepage auf react basis

This commit is contained in:
2026-08-07 21:39:30 +02:00
parent 164bdd19ad
commit ee89442c04
52191 changed files with 1230242 additions and 58 deletions
+17
View File
@@ -0,0 +1,17 @@
/**
* Whether the test runs in JSDOM environment
*/
export declare const isJSDOM: boolean;
export type IfEquals<T, U, Y = unknown, N = never> = (<G>() => G extends T ? 1 : 2) extends (<G>() => (G extends U ? 1 : 2)) ? Y : N;
/**
* Issues a type error if `Expected` is not identical to `Actual`.
*
* `Expected` should be declared when invoking `expectType`.
* `Actual` should almost always we be a `typeof value` statement.
*
* @example `expectType<number | string, typeof value>(value)`
* TypeScript issues a type error since `value is not assignable to never`.
* This means `typeof value` is not identical to `number | string`
* @param _actual
*/
export declare function expectType<Expected, Actual>(_actual: IfEquals<Actual, Expected, Actual>): void;