We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c20c174 commit 91c83e2Copy full SHA for 91c83e2
packages/sprintf/index.js
@@ -55,7 +55,7 @@ var PATTERN =
55
* ```
56
* @template {string} T
57
* @param {T} string - string printf format string
58
- * @param {import('./types/index.d').SprintfArgs<T>|import('./types/index.d').SprintfArgs<T>[]|undefined} args String arguments.
+ * @param {import('./types/index.d').SprintfArgs<T>|import('./types/index.d').SprintfArgs<T>[]} args String arguments.
59
*
60
* @return {string} Formatted string.
61
*/
packages/sprintf/types/index.d.ts
@@ -1,8 +1,7 @@
1
type Specifiers = {
2
's': string,
3
'd': number,
4
- 'b': boolean,
5
- 'D': Date
+ 'f': number
6
};
7
type S = keyof Specifiers;
8
0 commit comments