META: typescript: Mark recursive parameter of require_glob optional (#3508)

This commit is contained in:
Lance A. Brown 2025-03-26 06:42:29 -04:00 committed by GitHub
parent 5d4f2869ad
commit 7661175d58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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.