Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
beyondkmp committed Jul 24, 2024
1 parent 794621e commit 64bd061
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/app-builder-lib/src/util/NodeModuleCopyHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ export class NodeModuleCopyHelper extends FileCopyHelper {
result[index] = undefined
}
}
const finalResult: Array<string> = result.filter(it => it !== undefined)
return finalResult
return result.filter((it): it is string => it !== undefined)
}
}

0 comments on commit 64bd061

Please sign in to comment.