use typscript