mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-11-01 17:13:11 +08:00
Fix parameter type for DEFAULTS (#2072)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
parent
d1dcba45ed
commit
1fda0de4d9
2 changed files with 2 additions and 2 deletions
2
commands/types/dnscontrol.d.ts
vendored
2
commands/types/dnscontrol.d.ts
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue