Skip to content

Commit

Permalink
Update typings
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaslehnertum committed Nov 25, 2023
1 parent a959e04 commit a17b6f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/user/api/apollon-editor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Patch } from './services/patcher';
import { Locale } from './services/editor/editor-types';
import * as Apollon from './typings';
import { UMLDiagramType, UMLModel } from './typings';
import { UMLModelCompat } from './compat';
export declare class ApollonEditor {
private container;
private options;
Expand All @@ -17,7 +18,7 @@ export declare class ApollonEditor {
* Sets a model as the current model of the Apollon Editor
* @param model valid Apollon Editor Model
*/
set model(model: Apollon.UMLModel);
set model(model: UMLModelCompat);
/**
* Sets the diagram type of the current Apollon Editor. This changes the selection of elements the user can chose from on the sidebar.
* @param diagramType the new diagram type
Expand Down

0 comments on commit a17b6f2

Please sign in to comment.