Skip to content

Commit

Permalink
fix(typia.ts): strict-boolean-expression
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoppippi committed Aug 16, 2024
1 parent 230f72c commit a5c9a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/unplugin-typia/src/core/typia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async function getProgramAndSource(
);
const host = ts.createCompilerHost(compilerOptions);

if (aliases && aliases.length) {
if (aliases != null && aliases.length > 0) {
host.resolveModuleNameLiterals = (moduleLiterals, containingFile, _, options) => {
return moduleLiterals.map((lit) => {
let module = ts.resolveModuleName(lit.text, containingFile, options, host, host.getModuleResolutionCache?.());
Expand Down

0 comments on commit a5c9a8d

Please sign in to comment.