From ca615dcc7a8e4890ef9738acd3b4b3cec5ab8661 Mon Sep 17 00:00:00 2001 From: michael-whi Date: Thu, 26 Sep 2019 20:52:24 +0300 Subject: [PATCH] [ECORE] - Marks for interface Resource, parse method. (#38543) * Added ecore types. * Little fix. * Little marks. * Fixed default export. * Import/Export marks. * Fixed default export. * Marks. * Test. * Test. * -Deleted wrong def eContent in EObject -Marks in EPackage and EPackageRegistry * Interface Resource, parse, second parameter 'loader' has to be optional. --- types/ecore/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/ecore/index.d.ts b/types/ecore/index.d.ts index 0fd9325f0f..863aae9aef 100644 --- a/types/ecore/index.d.ts +++ b/types/ecore/index.d.ts @@ -117,7 +117,7 @@ export interface Resource extends EObject { clear: () => EList; each: (iterator: (value: any, key: any, list: EList) => void, context?: any) => void; save: (callback: () => void, options: any) => void; - parse: (data: EObject, loader: () => void) => any; + parse: (data: EObject, loader?: () => void) => any; remove: () => void; rev: string; load: (res: any) => void;