Added comments

This commit is contained in:
Alexander Cerutti
2019-08-14 15:51:04 +02:00
parent 80b874077f
commit 522b2fca62
2 changed files with 14 additions and 0 deletions

View File

@@ -16,6 +16,12 @@ interface AbstractModelOptions {
overrides?: OverridesSupportedOptions;
}
/**
* Creates an abstract model to keep data
* in memory for future passes creation
* @param options
*/
export async function createAbstractModel(options: AbstractFactoryOptions) {
if (!(options && Object.keys(options).length)) {
throw new Error(formatMessage("CP_NO_OPTS"));