Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/copilot/src/extension/test/node/fixtures/pseudodiff/06-similarline-comma
13406 views
class DocContext {
	constructor(
		public readonly selection: string,
		public readonly wholeRange: string,
		public response?: any
	) { }
}

class Fetcher {

	private documentContext: any;

	private async fetchResponse(fetchRequest: DocContext) {
		const documentContext = {
			selection: fetchRequest.selection,
			wholeRange: fetchRequest.wholeRange,
			response: fetchRequest.response
		};
		this.documentContext = documentContext;
	}
}