mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 23:08:36 +02:00
change defs
This commit is contained in:
@@ -9,15 +9,15 @@ Format a string.
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
sprintf(format: string, ...args: string[]): string;
|
||||
sprintf(format: string, ...args: any[]): string;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| format | string | String to format. |
|
||||
| args | string\[\] | Formating arguments. |
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------- | -------------------- |
|
||||
| format | string | String to format. |
|
||||
| args | any\[\] | Formating arguments. |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
@@ -30,4 +30,3 @@ Formated text.
|
||||
RAM cost: 0 GB
|
||||
|
||||
see: https://github.com/alexei/sprintf.js
|
||||
|
||||
|
||||
Reference in New Issue
Block a user