We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1f828f commit 2a922faCopy full SHA for 2a922fa
src/lib/textHelpers.ts
@@ -7,7 +7,7 @@ type MarkdownCodeBlockFlavorQuickPickItems = QuickPickItem & {
7
detail: IncludeLanguageIdentifier;
8
};
9
10
-export async function generateSnippet(document: TextDocument, selections: Selection[], wrapInMarkdownCodeBlock = false): Promise<string> {
+export async function generateSnippet(document: TextDocument, selections: readonly Selection[], wrapInMarkdownCodeBlock = false): Promise<string> {
11
const config = workspace.getConfiguration('snippet-copy') as ExtensionConfig;
12
const texts: string[] = [];
13
selections.forEach(selection => {
0 commit comments