Files
headroom/frontend/node_modules/happy-dom/cjs/dom/DOMRect.d.ts
Santhosh Janardhanan de2d83092e feat: Reinitialize frontend with SvelteKit and TypeScript
- Delete old Vite+Svelte frontend
- Initialize new SvelteKit project with TypeScript
- Configure Tailwind CSS v4 + DaisyUI
- Implement JWT authentication with auto-refresh
- Create login page with form validation (Zod)
- Add protected route guards
- Update Docker configuration for single-stage build
- Add E2E tests with Playwright (6/11 passing)
- Fix Svelte 5 reactivity with $state() runes

Known issues:
- 5 E2E tests failing (timing/async issues)
- Token refresh implementation needs debugging
- Validation error display timing
2026-02-17 16:19:59 -05:00

65 lines
1.1 KiB
TypeScript

import DOMRectReadOnly from './DOMRectReadOnly.cjs';
import IDOMRectInit from './IDOMRectInit.cjs';
/**
* DOM Rect.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/DOMRect
*/
export default class DOMRect extends DOMRectReadOnly {
/**
* Sets x.
*
* @param value X.
*/
set x(value: number);
/**
* Returns x.
*
* @returns X.
*/
get x(): number;
/**
* Sets y.
*
* @param value Y.
*/
set y(value: number);
/**
* Returns y.
*
* @returns Y.
*/
get y(): number;
/**
* Sets width.
*
* @param value Width.
*/
set width(value: number);
/**
* Returns width.
*
* @returns Width.
*/
get width(): number;
/**
* Sets height.
*
* @param value Height.
*/
set height(value: number);
/**
* Returns height.
*
* @returns Height.
*/
get height(): number;
/**
* Returns a new DOMRect object.
*
* @param other
* @returns Cloned object.
*/
static fromRect(other: IDOMRectInit): DOMRect;
}
//# sourceMappingURL=DOMRect.d.ts.map