UNPKG

react-torch

Version:

A lib to server-side render with react.

11 lines (10 loc) 332 B
/// <reference types="node" /> /// <reference types="global" /> import http from 'http'; import type { Express } from 'express'; import type { TorchConfig } from '../index'; export declare type Result = { server: http.Server; app: Express; }; export declare function createServer(draftConfig: TorchConfig): Promise<Result>;