20 lines
634 B
TypeScript
20 lines
634 B
TypeScript
// e2e-run-dir.mjs の型宣言。
|
|
//
|
|
// この .mjs は playwright の設定 3 本から import されており、宣言が無いと
|
|
// UI の型検査 (`npm run typecheck:ui`) が implicit any で落ちる。実装を
|
|
// TypeScript に移すと playwright 設定からの読み込み経路が変わるため、
|
|
// 宣言だけを添える。
|
|
export const OWNERSHIP_FILE: string;
|
|
|
|
export function createOwnedRunDir(
|
|
cacheRoot: string,
|
|
prefix: string,
|
|
): { directory: string; token: string };
|
|
|
|
export function cleanupOwnedRunDir(args: {
|
|
cacheRoot: string;
|
|
directory?: string;
|
|
prefix?: string;
|
|
token?: string;
|
|
}): boolean;
|