changed typescript-mode to be a part of prog-mode

typescript-mode is now recognised as a derived mode of prog-mode, allowing prog-mode-hooks to be used with typescript-mode.