Skip to content

Options

function Options(path: string): Function

Registers the decorated method as a handler for OPTIONS path.

path string · The URL path pattern to match.

returns Function

Learn: Controller classes

Last updated: