Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion commands/types/dnscontrol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4087,7 +4087,7 @@ declare function TTL(ttl: Duration): RecordModifier;
*
* @see https://docs.dnscontrol.org/language-reference/domain-modifiers/txt
*/
declare function TXT(name: string, contents: string, ...modifiers: RecordModifier[]): DomainModifier;
declare function TXT(name: string, contents: string | string[], ...modifiers: RecordModifier[]): DomainModifier;

/**
* This is provider specific type of record and not a DNS standard. It may behave differently for each provider that handles it.
Expand Down
2 changes: 1 addition & 1 deletion documentation/language-reference/domain-modifiers/TXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ parameters:
- modifiers...
parameter_types:
name: string
contents: string
contents: string | string[]
"modifiers...": RecordModifier[]
---

Expand Down
Loading