newEntryPoint
Creates a new entry point This function can't be placed inside EntryPoint.js because that would create a circular import dependency
export function newEntryPoint(
mainSrc: string | Source,
moduleSrcs: string | Source[],
validatorTypes: ScriptTypes,
errorCollector: ErrorCollector
): EntryPoint
Arguments
Name | Type | Description |
---|---|---|
mainSrc | string | Source | |
moduleSrcs | string | Source[] | optional sources of modules, which can be used for imports |
validatorTypes | ScriptTypes | |
errorCollector | ErrorCollector |
Return value
EntryPoint