Fix errors being shown for types defined in other files.

Background parser now uses all TypeScript files in the project so
types defined in other files are available when getting the
semantic diagnostics.