diff --git a/lib/Diagram.d.ts b/lib/Diagram.d.ts index 94d590ec1..368a7cb3d 100644 --- a/lib/Diagram.d.ts +++ b/lib/Diagram.d.ts @@ -50,6 +50,7 @@ export default class Diagram { constructor(options?: DiagramOptions, injector?: Injector); /** + * * Resolves a diagram service. * * @@ -84,7 +85,6 @@ export default class Diagram { get(name: string, strict: true): T; /** - * * Resolves a diagram service. * * @@ -95,6 +95,7 @@ export default class Diagram { get(name: string): T; /** + * * Invoke the given function, injecting dependencies provided in * array notation. Return the result. * @@ -108,7 +109,6 @@ export default class Diagram { invoke(func: ArrayFunc, context?: InjectionContext, locals?: LocalsMap): T; /** - * * Invoke the given function, injecting dependencies. Return the result. * * diff --git a/lib/core/ElementFactory.d.ts b/lib/core/ElementFactory.d.ts index 09ab6abde..473a29ee2 100644 --- a/lib/core/ElementFactory.d.ts +++ b/lib/core/ElementFactory.d.ts @@ -40,40 +40,40 @@ export default class ElementFactory): T; /** - * Create a label. + * Create a root element. * * @param type * @param attrs * @return */ - create(type: 'label', attrs?: Partial