From af136c8569ce67cb15dc2d47aa4c9708207706b1 Mon Sep 17 00:00:00 2001 From: Chad Skeeters Date: Mon, 11 Nov 2024 10:30:39 -0600 Subject: [PATCH] Updates MarshalYAML interface to use 'any' Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com> --- decimal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decimal.go b/decimal.go index ad7e446..35f6e0e 100644 --- a/decimal.go +++ b/decimal.go @@ -1800,7 +1800,7 @@ func (d Decimal) MarshalJSON() ([]byte, error) { } // MarshalYAML implements the [yaml.Marshaler] interface. -func (d Decimal) MarshalYAML() (interface{}, error) { +func (d Decimal) MarshalYAML() (any, error) { if MarshalYAMLWithoutQuotes { n := yaml.Node{ Kind: yaml.ScalarNode,