mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 00:04:22 +02:00
MISC: Show values of constants in type hints. (#1515)
This commit is contained in:
@@ -120,7 +120,7 @@ export function capitalizeEachWord(s: string): string {
|
||||
.join(" ");
|
||||
}
|
||||
|
||||
export function getNsApiDocumentationUrl(isDevBranch = CONSTANTS.isDevBranch): string {
|
||||
export function getNsApiDocumentationUrl(isDevBranch: boolean = CONSTANTS.isDevBranch): string {
|
||||
return `https://github.com/bitburner-official/bitburner-src/blob/${
|
||||
isDevBranch ? "dev" : "stable"
|
||||
}/markdown/bitburner.ns.md`;
|
||||
|
||||
Reference in New Issue
Block a user