You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
typescript applications that include diff2html fail to build when ts compilerOption noImplicitAny=true #575
This error was induced when diff2html replaced hogan.js with @profoundlogic/hogan.
The following build error occurs with the current version of diff2html:
✘ [ERROR] TS7016: Could not find a declaration file for module '@profoundlogic/hogan'. '/Users/jarosen6/dev/workingPV/primeNgUpdateSandbox/angular-pv/node_modules/@profoundlogic/hogan/lib/hogan.js' implicitly has an 'any' type. Trynpm i --save-dev @types/profoundlogic__hoganif it exists or add a new declaration (.d.ts) file containingdeclare module '@profoundlogic/hogan';` [plugin angular-compiler]
node_modules/diff2html/lib/hoganjs-utils.d.ts:1:23:
1 │ import * as Hogan from '@profoundlogic/hogan';
╵ ~~~~~~~~~~~~~~~~~~~~~~
`
The problem occurs because there is no @types (d.ts) file for the forked project @profoundlogic/hogan
Note: noImplicitAny = true is the default/recommended ts compile configuration setting
Activity
BCsabaEngine commentedon Jan 8, 2026
Yes, same problem
rtfpessoa commentedon Jan 31, 2026
Attempting a fix here #580
rtfpessoa commentedon Jan 31, 2026
Check if version
v3.4.56solves itBCsabaEngine commentedon Jan 31, 2026
I tested v3.4.56, it works! Thank you.
This add this new package to lock.json: https://github.com/BCsabaEngine/helm-env-delta/pull/71/changes#diff-053150b640a7ce75eff69d1a22cae7f0f94ad64ce9a855db544dda0929316519R818
"node_modules/@profoundlogic/hogan"