1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

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
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 * @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 * `DOMAIN_ELSEWHERE()` is a helper macro that lets you easily indicate that

View File

@@ -3,7 +3,7 @@ name: DEFAULTS
parameters: parameters:
- modifiers... - modifiers...
parameter_types: 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 `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