Skip to main content

Function: ReactService()

ReactService(paths): (target) => void

Defined in: ReactDecorators.ts:6

Indicates that the decorated class is a React route service.

Parameters

paths

string | string[]

The base path(s) of the app routes to apply the service for.

Returns

(target) => void