Documentation

@kanunilabs/pivotgrid-enterprise


@kanunilabs/pivotgrid-enterprise / PeerSpec

Interface: PeerSpec<T>

Where a peer can be found, in the order it is looked for.

Type Parameters

T

T

Properties

globals

globals: string[]

Global names a UMD build of it may define, in preference order.


hint

hint: string

What to tell the developer when nothing resolves.


module

module: string

npm specifier, for the bundler path.


pick?

optional pick?: (found) => T | undefined

Pull the wanted value out of whatever was found.

Parameters

found

unknown

Returns

T | undefined