Fixing diagnostics:

  Passing RefScript diagnostics through TS diagnostics mechanism
Inferring rsc function types from TS sigs
Merge branch 'master' of github.com:panagosg7/TypeScript