Fix parameter type for DEFAULTS (#2072)

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
Jed Fox 2023-02-13 14:13:27 -05:00 committed by GitHub
parent d1dcba45ed
commit 1fda0de4d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1360,7 +1360,7 @@ declare function D(name: string, registrar: string, ...modifiers: DomainModifier
*
* @see https://dnscontrol.org/js#DEFAULTS
*/
declare function DEFAULTS(...modifiers: RecordModifier[]): void;
declare function DEFAULTS(...modifiers: DomainModifier[]): void;
/**
* `DOMAIN_ELSEWHERE()` is a helper macro that lets you easily indicate that

View file

@ -3,7 +3,7 @@ name: DEFAULTS
parameters:
- modifiers...
parameter_types:
"modifiers...": RecordModifier[]
"modifiers...": DomainModifier[]
---
`DEFAULTS` allows you to declare a set of default arguments to apply to all subsequent domains. Subsequent calls to [`D`](D.md) will have these