import { URI } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri'; export interface ITextFileService { /** * all dirty resources. * * @param resource */ isDirty(resource?: URI): boolean; /** * Returns all resources that are currently dirty matching the provided resources or all dirty resources. * * @param resources the resources to check for being dirty. If it is not specified, will check for * all dirty resources. */ getDirty(resources?: URI[]): URI[]; }