Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno2node/src/deps.deno.ts>LanguageService#getCombinedCodeFix

Compile your Deno project to run on Node.js.
Go to Latest
method LanguageService.prototype.getCombinedCodeFix
import { LanguageService } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";

Gets file changes and actions to perform for the provided fixId.

Parameters

filePathOrSourceFile: string | SourceFile
  • File path or source file to get the combined code fixes for.
fixId: { }
  • Identifier for the code fix (ex. "fixMissingImport"). These ids are found in the ts.codefix namespace in the compiler api source.
optional
formatSettings: FormatCodeSettings
  • Format code settings.
optional
preferences: UserPreferences
  • User preferences for refactoring.