toStringMethod: typeof toStringMethod = ...

Use this symbol to define a custom serializer for your instances. Serializer must be a function returning a string (see WithToStringMethod).

Remarks

Since 2.17.0