Files
actual/packages/desktop-client/globals.d.ts
Joel Jeremy Marquez 012cfd09ea [TypeScript] Convert playwright config and tests to TS (#4217)
* Convert playwright config and tests to TS

* Release notes

* Update VRT

* Dummy commit

* Delete js snapshots

* Fix call to expect

* Move extended expect and test to fixtures

* Fix wrong commit

* Fix typecheck error

* Update VRT

* Dummy commit to run GH actions

* Delete mobile budget test JS

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-22 09:00:10 -08:00

21 lines
501 B
TypeScript

// eslint-disable-next-line import/no-unresolved
import { type CSSObject } from '@emotion/css/dist/declarations/src/create-instance';
// Allow images to be imported
declare module '*.png';
declare module 'react' {
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
interface CSSProperties extends CSSObject {}
}
declare global {
function __resetWorld(): void;
namespace PlaywrightTest {
interface Matchers<R> {
toMatchThemeScreenshots(): Promise<R>;
}
}
}