Sounds like the criteria you outline for using a library can be learnt in a second. Why is it then a differentiator between junior and senior?
I have been thinking about Rust, but it has too much stuff like ownership I rather don't want to think about on top of the already complicated things my code does.
A compiler from Swift (or a subset of Swift) to TypeScript would make it a viable option for me. Maybe I write it myself.