Skip to content

Commit

Permalink
fix(DnsRecord): Make data constructor parameter unknown (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea authored Jan 12, 2023
1 parent 139f7e1 commit e65e090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/dns/DnsRecord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class DnsRecord {
typeIdOrName: IanaRrTypeIdOrName,
classIdOrName: DnsClassIdOrName,
public readonly ttl: number,
data: Buffer | object,
data: unknown,
) {
this.name = normaliseName(name);
this.typeId = getRrTypeId(typeIdOrName);
Expand Down

0 comments on commit e65e090

Please sign in to comment.