mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-08 14:15:30 +08:00
META: typescript: Mark recursive parameter of require_glob optional (#3508)
This commit is contained in:
parent
5d4f2869ad
commit
7661175d58
2 changed files with 2 additions and 2 deletions
2
commands/types/dnscontrol.d.ts
vendored
2
commands/types/dnscontrol.d.ts
vendored
|
@ -3368,4 +3368,4 @@ declare function getConfiguredDomains(): string[];
|
|||
*
|
||||
* @see https://docs.dnscontrol.org/language-reference/top-level-functions/require_glob
|
||||
*/
|
||||
declare function require_glob(path: string, recursive: boolean): void;
|
||||
declare function require_glob(path: string, recursive?: boolean): void;
|
||||
|
|
|
@ -5,7 +5,7 @@ parameters:
|
|||
- recursive
|
||||
parameter_types:
|
||||
path: string
|
||||
recursive: boolean
|
||||
recursive: boolean?
|
||||
---
|
||||
|
||||
`require_glob()` recursively loads `.js` files that match a glob (wildcard). The recursion can be disabled.
|
||||
|
|
Loading…
Add table
Reference in a new issue