Link Search Menu Expand Document

=== API

Properties

all

  • return: ReadonlyArray<Extension>

all extensions

Methods

getExtension

  • params: (extensionId: string): Extension<any> | undefined

=== Cook

Import from another extension

let mathExt = extensions.getExtension('genius.math');
let importedApi = mathExt.exports;

console.log(importedApi.mul(42, 1));

Copyright © 2020 Thence LLC