Adapted to new type CodeSelection

This commit is contained in:
Tom Spielvogel 2024-10-16 11:28:23 +02:00 committed by GitHub
parent eec7cd7321
commit 15994c46d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ ${content}
\`\`\``).join('\n')
}
const userInstructionsStr = (instructions: string, files: File[], selection: Selection | null): string => {
const userInstructionsStr = (instructions: string, files: File[], selection: CodeSelection | null) => {
let str = '';
if (files.length > 0) {