Skip to content

Commit

Permalink
Fix nonara#174: support TypeScript v5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed Dec 4, 2024
1 parent 78e9727 commit b54f401
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/core/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const defaultNodePrinterOptions: ts.PrinterOptions = {
// region: Patch Config
/* ****************************************************************************************************************** */

export const defaultInstallLibraries = [ 'tsc.js', 'typescript.js' ];
export const defaultInstallLibraries = [ 'tsc.js', 'typescript.js', '_tsc.js' ];

export const corePatchName = `<core>`;

Expand Down
9 changes: 8 additions & 1 deletion projects/core/src/module/ts-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@ import { cachedFilePatchedPrefix } from '../config';
/* ****************************************************************************************************************** */

export namespace TsModule {
export const names = <const>['tsc.js', 'tsserverlibrary.js', 'typescript.js', 'tsserver.js'];
export const names = <const>[
'tsc.js',
'tsserverlibrary.js',
'typescript.js',
'tsserver.js',
'_tsc.js',
'_tsserver.js',
];
}

// endregion
Expand Down

0 comments on commit b54f401

Please sign in to comment.