js-slang
Version:
Javascript-based implementations of Source, written in Typescript
12 lines (11 loc) • 579 B
TypeScript
import type { Context } from '../../types';
import type { ModuleFunctions } from '../moduleTypes';
/**
* With the given set of Source Modules to Import, load all of the bundles and
* tabs (if `loadTabs` is true) and populate the `context.nativeStorage.loadedModules`
* property.
*/
export default function loadSourceModules(sourceModulesToImport: Set<string>, context: Context, loadTabs: boolean): Promise<{
[k: string]: ModuleFunctions;
}>;
export { setModulesStaticURL, MODULES_STATIC_URL, memoizedGetModuleDocsAsync, memoizedGetModuleManifestAsync } from './loaders';