ssap_app/node_modules/expo-server/build/mjs/vendor/netlify.d.ts

16 lines
434 B
TypeScript

export { ExpoError } from './abstract';
declare const scopeSymbol: unique symbol;
interface NetlifyContext {
deploy?: {
context?: string | null;
};
site?: {
url?: string | null;
};
waitUntil?: (promise: Promise<unknown>) => void;
[scopeSymbol]?: unknown;
}
export declare function createRequestHandler(params: {
build: string;
}): (req: Request, ctx?: NetlifyContext) => Promise<Response>;