Skip to content

Commit

Permalink
forgot typing stub
Browse files Browse the repository at this point in the history
  • Loading branch information
AidasPa committed Mar 15, 2021
1 parent f856b7c commit 1ccd385
Showing 1 changed file with 22 additions and 19 deletions.
41 changes: 22 additions & 19 deletions cli/stubs/typings.stub
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
type UPROPERTYParam = null;
type UFUNCTIONParam = null;
type KEYBINDParam = 0 | 1;
/* UPROPERTY types */
declare const EditAnywhere;
declare const VisibleAnywhere;

declare const EditAnywhere: UPROPERTYParam;
declare const VisibleAnywhere: UPROPERTYParam;
/* UCLASS types */
declare const BlueprintComponent;

declare const BindAxis: KEYBINDParam = 0;
declare const BindAction: KEYBINDParam = 1;
declare const IE_PRESSED: KEYBINDParam = 0;
declare const IE_RELEASED: KEYBINDParam = 1;
/* KEYBIND types */
declare const BindAxis;
declare const BindAction;
declare const IE_PRESSED;
declare const IE_RELEASED;

declare const Server: UFUNCTIONParam;
declare const Client: UFUNCTIONParam;
declare const Reliable: UFUNCTIONParam;
declare const Unreliable: UFUNCTIONParam;
declare const NetMulticast: UFUNCTIONParam;
/* UFUNCTION types */
declare const Server;
declare const Client;
declare const Reliable;
declare const Unreliable;
declare const NetMulticast;

/* DECORATOR types */
declare const UCLASS = (...args: null[]): Function => (): void => {};
declare const UPROPERTY = (...args: null[]): Function => (): void => {};
declare const UFUNCTION = (...args: null[]): Function => (): void => {};
declare const KEYBIND = (type: null, action: string, event?: null): Function => (): void => {};

declare const UCLASS = (): Function => (): void => {};
declare const UPROPERTY = (...args: UPROPERTYParam[]): Function => (): void => {};
declare const UFUNCTION = (...args: UFUNCTIONParam[]): Function => (): void => {};
declare const KEYBIND = (type: KEYBINDParam, action: string, event: ?KEYBINDParam = 0): Function => (): void => {};

declare type float = number;

0 comments on commit 1ccd385

Please sign in to comment.