From 951fe36da3184bf29398a067f2218af768e5d280 Mon Sep 17 00:00:00 2001 From: igor Date: Sat, 14 Feb 2026 06:28:03 +0100 Subject: [PATCH] fixed parames of interface for type-check --- src/typescript.tpl.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/typescript.tpl.php b/src/typescript.tpl.php index e82bd64..09ae633 100644 --- a/src/typescript.tpl.php +++ b/src/typescript.tpl.php @@ -44,6 +44,7 @@ $mapUnionType = function (mixed $type) use ($mapType): string { export interface APIliteActionResponse { status: 'OK'; data: T; + msg: string; } export interface APIliteErrorResponse { @@ -73,6 +74,9 @@ export interface APIliteHelpResponse { javascript_version: string; typescript_version: string; actions: APIliteMethodDoc[]; + status: string; + data: string; + msg: string; } class apiName; ?> {