Skip to content

Commit

Permalink
refactor(language-core): remove resolveVueCompilerOptions function
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Mar 6, 2025
1 parent 691715f commit c42f6c1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/language-core/lib/utils/ts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,16 +322,6 @@ export function getDefaultCompilerOptions(target = 99, lib = 'vue', strictTempla
};
}

/**
* @deprecated use `getDefaultCompilerOptions` instead
*/
export function resolveVueCompilerOptions(options: Partial<VueCompilerOptions>): VueCompilerOptions {
return {
...getDefaultCompilerOptions(options.target, options.lib),
...options,
};
}

export function setupGlobalTypes(rootDir: string, vueOptions: VueCompilerOptions, host: {
fileExists(path: string): boolean;
writeFile?(path: string, data: string): void;
Expand Down

0 comments on commit c42f6c1

Please sign in to comment.