Skip to content

@vtj


@vtj / utils / loadScript

Function: loadScript()

loadScript<T>(src, options): Promise<T | undefined>

Defined in: packages/utils/src/loadScript.ts:22

Type Parameters

T = any

Parameters

src

string

options

LoadScriptOptions = {}

Returns

Promise<T | undefined>

Released under the MIT License.