chore(variables): support integer interpolation for all values

This commit is contained in:
Julien Dessaux 2024-03-11 23:19:13 +01:00
parent acbccb0a93
commit b40723b0b8
Signed by: adyxax
GPG key ID: F92E51B86E07177E
4 changed files with 26 additions and 16 deletions

View file

@ -70,6 +70,9 @@ type VariablePromise struct {
func (s VariablePromise) Bytes() []byte {
return s.value.Bytes()
}
func (s VariablePromise) Int() (int, error) {
return s.value.Int()
}
func (s VariablePromise) String() string {
return s.value.String()
}