Something like the following:  See https://github.com/Microsoft/TypeScript-Sublime-Plugin/issues/327 for the original suggestion.