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:
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
|
||||
|
Reference in New Issue
Block a user