1 Commits

Author SHA1 Message Date
951fe36da3 fixed parames of interface for type-check 2026-02-14 06:28:03 +01:00

View File

@ -44,6 +44,7 @@ $mapUnionType = function (mixed $type) use ($mapType): string {
export interface APIliteActionResponse<T> { export interface APIliteActionResponse<T> {
status: 'OK'; status: 'OK';
data: T; data: T;
msg: string;
} }
export interface APIliteErrorResponse { export interface APIliteErrorResponse {
@ -73,6 +74,9 @@ export interface APIliteHelpResponse {
javascript_version: string; javascript_version: string;
typescript_version: string; typescript_version: string;
actions: APIliteMethodDoc[]; actions: APIliteMethodDoc[];
status: string;
data: string;
msg: string;
} }
class <?php echo $this->apiName; ?> { class <?php echo $this->apiName; ?> {