Tweak type

master
Brad Cornes 2022-10-17 18:35:55 +01:00
parent 2509d09857
commit 875cb6f324
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ export type EditorState = {
readDirectory: (
document: TextDocument,
directory: string
) => Promise<Array<[name: string, type: { isDirectory: boolean }]>>
) => Promise<Array<[string, { isDirectory: boolean }]>>
}
type DiagnosticSeveritySetting = 'ignore' | 'warning' | 'error'