From eae251e103d07759981dfc33d47319397e08e302 Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Wed, 18 Oct 2023 18:15:11 +0200 Subject: [PATCH] chore(kumascript): type smartLink() params Derived by recording the types of all parameters during a full build of the English locale. --- kumascript/src/api/web.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kumascript/src/api/web.ts b/kumascript/src/api/web.ts index ff4dd43c396d..66ef53592287 100644 --- a/kumascript/src/api/web.ts +++ b/kumascript/src/api/web.ts @@ -51,12 +51,12 @@ const web = { // then hyperlink to corresponding en-US document is returned. smartLink( this: KumaThis, - href, - title, - content, - subpath, - basepath, - ignoreFlawMacro = null + href: string, + title: string | null, + content: string, + subpath: string | null = null, + basepath: string | null = null, + ignoreFlawMacro: string | null = null ) { let flaw; let flawAttribute = "";