Alokai

InitFunction

InitFunction is a function that is called when the module is initialized. It contains the module options that is passed to the module and returns the module.

type InitFunction<T> = (opts?: any) => T;