Skip to content

Commit

Permalink
Extension: support class reference object type
Browse files Browse the repository at this point in the history
  • Loading branch information
cguglielmo committed Jul 28, 2023
1 parent 0f1a82a commit d4a4d5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eclipse-scout-core/src/Extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* SPDX-License-Identifier: EPL-2.0
*/
import {scout} from './index';
import {ObjectType, scout} from './index';

/**
* This class is used to extend an existing Scout object. In order to use the extension feature
Expand Down Expand Up @@ -54,7 +54,7 @@ export class Extension<E> {
*
* @param extensions an array of strings containing extension class names
*/
static install(extensions: string[]) {
static install(extensions: ObjectType[]) {
extensions.forEach(ext => {
scout.create(ext);
});
Expand Down

0 comments on commit d4a4d5d

Please sign in to comment.