@types/systemjs
- Version 6.15.1
- Published
- 6.91 kB
- No dependencies
- MIT license
Install
npm i @types/systemjs
yarn add @types/systemjs
pnpm add @types/systemjs
Overview
TypeScript definitions for systemjs
Index
Variables
variable System
const System: { import: System.ImportFn; register(dependencies: string[], declare: System.DeclareFn): void; register(name: string, dependencies: string[], declare: System.DeclareFn): void; resolve(moduleId: string, parentUrl?: string): string; delete(moduleId: string): false | System.UpdateModuleFn; get(moduleId: string): System.Module | null; get<T>(moduleId: string): T; has(moduleId: string): boolean; set(moduleId: string, module: System.Module): void; entries(): Iterable<[string, System.Module]>; addImportMap(importMap: System.ImportMap): void; getImportMap(): System.ImportMap;};
Namespaces
namespace System
namespace System {}
interface Context
interface Context {}
interface Declare
interface Declare {}
interface ExportFn
interface ExportFn {}
call signature
(exportName: string, value: any): void;
call signature
(exports: object): void;
interface ImportMap
interface ImportMap {}
The importmap standard is defined here: https://github.com/WICG/import-maps
interface Module
interface Module {}
property default
default?: any;
index signature
[exportName: string]: any;
type DeclareFn
type DeclareFn = (_export: ExportFn, _context: Context) => Declare;
type ExecuteFn
type ExecuteFn = () => any;
type GetFn
type GetFn = GetFnModule | GetFnGeneric;
type GetFnGeneric
type GetFnGeneric = <T>(moduleId: string) => T;
type GetFnModule
type GetFnModule = (moduleId: string) => Module;
type ImportFn
type ImportFn = <T extends Module>( moduleId: string, parentUrl?: string) => Promise<T>;
type SetterFn
type SetterFn = (moduleValue: Module) => any;
type UpdateModuleFn
type UpdateModuleFn = () => void;
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/systemjs
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/systemjs)
- HTML<a href="https://www.jsdocs.io/package/@types/systemjs"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3440 ms. - Missing or incorrect documentation? Open an issue for this package.