Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 1.4 KB

File metadata and controls

12 lines (7 loc) · 1.4 KB

ReplaceAll medium #template-literal

by Anthony Fu @antfu

Take the Challenge    日本語

Implement ReplaceAll<S, From, To> which replace the all the substring From with To in the given string S

For example

type replaced = ReplaceAll<'t y p e s', ' ', ''> // expected to be 'types'

Back Share your Solutions Check out Solutions