FaasJS
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security

Documents / @faasjs/core / FuncEventType

Type Alias: FuncEventType<T>

FuncEventType<T> = T extends Func<infer P, any, any> ? P : unknown

Get the event type of a func.

Type Parameters

T

T extends Func<any, any, any>

Func instance whose event type should be extracted.