Skip to content

Commit

Permalink
update stubs to support new es module import/export syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
AidasPa committed Mar 12, 2021
1 parent 81cd170 commit 3d628cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cli/stubs/actor.stub
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ class __CLASSNAME__ extends Actor
}
}

module.exports = __CLASSNAME__;
export = __CLASSNAME__;
1 change: 1 addition & 0 deletions cli/stubs/typings.stub
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
type UPROPERTYParam = null;

declare const EditAnywhere: UPROPERTYParam = null;
declare const VisibleAnywhereL UPROPERTYParam = null;

declare const UCLASS = (): Function => (): void => {};
declare const UPROPERTY = (...args: UPROPERTYParam[]): Function => (): void => {};
Expand Down

0 comments on commit 3d628cc

Please sign in to comment.