import { LanguageService } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Gets the edit information for applying a refactor at a the provided position in a source file.
Parameters
filePathOrSourceFile: string | SourceFile
- File path or source file to get the edits for.
formatSettings: FormatCodeSettings
- Fomat code settings.
- Position in the source file where to apply given refactor.
optional
preferences: UserPreferences- User preferences for refactoring.
Returns
RefactorEditInfo | undefined