Skip to content

Commit

Permalink
Fix wrong promise type in ELK interface
Browse files Browse the repository at this point in the history
  • Loading branch information
boogiebug authored and uruuru committed Jan 14, 2021
1 parent dc2baac commit 76c9203
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions typings/elk-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ export interface ElkLayoutCategoryDescription extends ElkCommonDescription {

export interface ELK {
layout(graph: ElkNode, args?: ElkLayoutArguments): Promise<ElkNode>;
knownLayoutAlgorithms(): Promise<ElkLayoutAlgorithmDescription>
knownLayoutOptions(): Promise<ElkLayoutOptionDescription>
knownLayoutCategories(): Promise<ElkLayoutCategoryDescription>
knownLayoutAlgorithms(): Promise<ElkLayoutAlgorithmDescription[]>
knownLayoutOptions(): Promise<ElkLayoutOptionDescription[]>
knownLayoutCategories(): Promise<ElkLayoutCategoryDescription[]>
}

export interface ELKConstructorArguments {
Expand Down

0 comments on commit 76c9203

Please sign in to comment.