FaasJS
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文

Documents / @faasjs/types / FaasParams

Type Alias: FaasParams<T>

FaasParams<T> = T extends FaasActionPaths ? FaasActions[T]["Params"] : T extends ReactServerAction ? Parameters<T>[0] : Record<string, any>

Infer the parameters type.

Type Parameters

T

T = any