default
: { multiple
: boolean; name
: string; once
: boolean; pkg
: any; register
: ((server
: Server, options
?: Options) => void); requirements
: { hapi
: string }; version
: any }
Type declaration
-
multiple: boolean
-
name: string
-
once: boolean
-
pkg: any
-
register: ((server: Server, options?: Options) => void)
-
- (server: Server, options?: Options): void
-
Parameters
-
server: Server
-
Optional
options: Options
Returns void
-
requirements: { hapi: string }
-
version: any
Registers the plugin with a Hapi server.