mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
Deal with build failures related to FileSystemHandle changes with TS@next (fix #141908)
This commit is contained in:
@@ -1491,6 +1491,14 @@ export namespace WebFileSystemAccess {
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
export function isFileSystemFileHandle(handle: FileSystemHandle): handle is FileSystemFileHandle {
|
||||
return handle.kind === 'file';
|
||||
}
|
||||
|
||||
export function isFileSystemDirectoryHandle(handle: FileSystemHandle): handle is FileSystemDirectoryHandle {
|
||||
return handle.kind === 'directory';
|
||||
}
|
||||
}
|
||||
|
||||
type ModifierKey = 'alt' | 'ctrl' | 'shift' | 'meta';
|
||||
|
||||
Reference in New Issue
Block a user