Skip to content

Commit

Permalink
chore(kumascript): type smartLink() params
Browse files Browse the repository at this point in the history
Derived by recording the types of all parameters
during a full build of the English locale.
  • Loading branch information
caugner committed Oct 18, 2023
1 parent 788c883 commit eae251e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions kumascript/src/api/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";
Expand Down

0 comments on commit eae251e

Please sign in to comment.