webpack/declarations.test.d.ts

22 lines
381 B
TypeScript
Raw Permalink Normal View History

declare module "*.json";
2025-05-01 22:36:51 +08:00
type Env = Record<string, any>;
2025-05-16 21:49:07 +08:00
type TestOptions = { testPath: string; srcPath: string };
2025-05-01 22:36:51 +08:00
declare namespace jest {
interface Matchers<R> {
toBeTypeOf: (
expected:
| "string"
| "number"
| "bigint"
| "boolean"
| "symbol"
| "undefined"
| "object"
| "function"
) => void;
toEndWith: (expected: string) => void;
}
}