ts-nameof
ts-nameof copied to clipboard
Ensure nameof of numeric literals works properly
Pretty sure this won't work properly right now since it converts to a number then back to a string:
nameof(5646.64);
nameof(0o10);
// should output
"5646.64"
"0o10"
Not that anyone would be doing this....