Type alias Stringable

Stringable: Exclude<Primitive, symbol>

Values that can be stringified (all primitives excluding symbol). Should be used with string types.

Example

let value: Stringable = "hello";
value = 1;
value = true;
value = Symbol("hello"); // Error!
value = { toString: () => "hello" }; // Error!