fix(plugins): TSTL HTTPRequest.create generation (#6190)
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
- Dev: Mini refactor of `TwitchAccount`. (#6182)
|
||||
- Dev: Refactored away some `getApp` usages in `WindowManager`. (#6194)
|
||||
- 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)
|
||||
|
||||
## 2.5.3
|
||||
|
||||
|
||||
Vendored
+3
-2
@@ -95,9 +95,10 @@ declare namespace c2 {
|
||||
set_header(name: string, value: string): void;
|
||||
|
||||
execute(): void;
|
||||
}
|
||||
|
||||
// might error
|
||||
static create(method: HTTPMethod, url: string): HTTPRequest;
|
||||
namespace HTTPRequest {
|
||||
function create(method: HTTPMethod, url: string): HTTPRequest;
|
||||
}
|
||||
|
||||
function log(level: LogLevel, ...data: any[]): void;
|
||||
|
||||
Reference in New Issue
Block a user