• Docs
  • API Reference
  • Interfaces
  • Loader

Interface: Loader<TOptions>

utils/src.Loader

Type parameters

NameType
TOptionsextends BaseLoaderOptions = BaseLoaderOptions

Implemented by

Table of contents

Methods

Methods

load

load(pointer, options?): Promise<null | Source[]>

Parameters

NameType
pointerstring
options?TOptions

Returns

Promise<null | Source[]>

Defined in

packages/utils/src/loaders.ts:21


loadSync

Optional loadSync(pointer, options?): null | Source[]

Parameters

NameType
pointerstring
options?TOptions

Returns

null | Source[]

Defined in

packages/utils/src/loaders.ts:22