SkyratBot
|
2c20844c76
|
[MIRROR] tgui: Strings.ts (#27685)
* tgui: Strings.ts (#83096)
Wrote better docs and tests for string helpers in tgui.
Something I noticed, which I'm ok with reverting, is that multiline does
precisely nothing. And despite being a template string fn, it doesn't
accept vars for interpolation. It looks as if it were used to circumvent
a babel limitation, which we are no longer using.
Removed:
- babel plugin (unused)
- multiline (no impact)
- createGlobPattern (unused)
- buildQueryString (unused)
<details>
<summary>Spot the difference</summary>


(There is none)
</details>
More core tools in TS.
Better docs so hopefully these functions are more widely used (and done
so properly)
Tests so things don't break
* Moduuular.
---------
Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
|
2024-05-16 06:22:47 +02:00 |
|