fivem-ts

a library to speed up the development of Fivem scripts and frameworks


Project maintained by Purpose-Dev Hosted on GitHub Pages — Theme by mattgraham

fivem-ts - Documentation v0.7.5Docs


fivem-ts - Documentation v0.7.5 / Server / Controller

Function: Controller()

Controller(basePath): ClassDecorator

Decorator to mark a class as a controller.

Parameters

basePath: string

The base path for the controller’s routes.

Returns

ClassDecorator

Defined in

server/web/Controller.ts:9