extensions/typescript-language-features/src/tsServer/versionStatus.ts/VersionStatus/updateState
class VersionStatus:	private updateState(newState: ProjectInfoState.State): void {
		if (this._state === newState) {
			return;
		}

		if (this._state.type === ProjectInfoState.Type.Pending) {
			this._state.cancellation.cancel();
			this._state.cancellation.dispose();
		}

		this._state = newState;
	}