[]previous and next page

ServerFnRecord

A server function and the file that defines it.

A server function and the file that defines it.

Import#

ts
import type { ServerFnRecord } from "@shadow-js/dusk/vite";

Signature#

ts
interface ServerFnRecord {
  /** Absolute path of the module. */
  readonly file: string;
  readonly fn: ServerFnInfo;
}

Members#

Name Type Description
file readonly file: string Absolute path of the module.
fn readonly fn: ServerFnInfo