Fix CodeHint plugin to wait for the typescript file to be processed