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; ?> {