If typescript is close enough to an existing language you can make a custom filetype, see the manual.
If typescript is not close enough to another language first you need to have a lexer added to the [Scintilla](http://www.scintilla.org/) editing widget then if needs to be integrated into Geany and a filetype created.