(x?: any)
| 74 | export const Namespace = () => ({} as any) |
| 75 | |
| 76 | export const Mock = (x?: any) => { |
| 77 | let args: any[], |
| 78 | f = (...y: any[]) => ((args = y), Promise.resolve(x)) |
| 79 | // @ts-ignore |
| 80 | return (f.args = () => args), f |
| 81 | } |
| 82 | |
| 83 | export const Headers = (init: readonly [string, string][] | null) => { |
| 84 | let raw = new Map(init) |