Skip to content

RequireResolve

[<Interface>]
type RequireResolve =
    abstract member Invoke (request: string, ?options: RequireResolveOptions) : string
    abstract member paths (request: string) : string array option
AssemblyXantham.Fable.Node

Methods

abstract member Invoke (request: string, ?options: RequireResolveOptions) : string
abstract member paths (request: string) : string array option

Returns an array containing the paths searched during resolution of request or null if the request string references a core module, for example http or fs.

@since v8.9.0

Parameter
requestThe module path whose lookup paths are being retrieved.