Interface RequireShim

Index

Properties

Properties

optional public deps?: Array<string>

List of dependencies.

optional public exports?: string

Name the module will be exported as.

optional public init?: (...dependencies: any[]) => any

Initialize function with all dependcies passed in, if the function returns a value then that value is used as the module export value instead of the object found via the 'exports' string.

param
returns