fix(plugins): TSTL static method generation (#6223)
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@
|
|||||||
- Dev: Mini refactor of `TwitchAccount`. (#6182)
|
- Dev: Mini refactor of `TwitchAccount`. (#6182)
|
||||||
- Dev: Refactored away some `getApp` usages in `WindowManager`. (#6194)
|
- Dev: Refactored away some `getApp` usages in `WindowManager`. (#6194)
|
||||||
- Dev: Simplified string literals to be a re-export of Qt functions. (#6175)
|
- Dev: Simplified string literals to be a re-export of Qt functions. (#6175)
|
||||||
- Dev: Fixed incorrect lua generation of `c2.HTTPRequest.create` for typescript plugins. (#6190)
|
- Dev: Fixed incorrect lua generation of static methods for typescript plugins. (#6190, #6223)
|
||||||
- Dev: Merged top/bottom and left/right notebook layouts. (#6215)
|
- Dev: Merged top/bottom and left/right notebook layouts. (#6215)
|
||||||
|
|
||||||
## 2.5.3
|
## 2.5.3
|
||||||
|
|||||||
Vendored
+3
-5
@@ -66,8 +66,8 @@ declare namespace c2 {
|
|||||||
is_mod(): boolean;
|
is_mod(): boolean;
|
||||||
is_vip(): boolean;
|
is_vip(): boolean;
|
||||||
|
|
||||||
static by_name(name: string): null | Channel;
|
static by_name(this: void, name: string): null | Channel;
|
||||||
static by_twitch_id(id: string): null | Channel;
|
static by_twitch_id(this: void, id: string): null | Channel;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum HTTPMethod {
|
enum HTTPMethod {
|
||||||
@@ -95,10 +95,8 @@ declare namespace c2 {
|
|||||||
set_header(name: string, value: string): void;
|
set_header(name: string, value: string): void;
|
||||||
|
|
||||||
execute(): void;
|
execute(): void;
|
||||||
}
|
|
||||||
|
|
||||||
namespace HTTPRequest {
|
static create(this: void, method: HTTPMethod, url: string): HTTPRequest;
|
||||||
function create(method: HTTPMethod, url: string): HTTPRequest;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function log(level: LogLevel, ...data: any[]): void;
|
function log(level: LogLevel, ...data: any[]): void;
|
||||||
|
|||||||
Reference in New Issue
Block a user