handlebars-lang/handlebars.js
Vedi su GitHubTypings allow calling "compile" when including "handlebars/runtime".
Open
#1513 aperta il 16 mar 2019
bughelp wantedtypingsunverified
Metriche repository
- Star
- (17.697 star)
- Metriche merge PR
- (Merge medio 15g) (4 PR mergiate in 30 g)
Descrizione
This issue is actually not verified, but maybe someone can verify and fix it:
The typings of "handlebars/runtime" currently include "handlebars.d.ts", so the "compile"-method is probably part of the typings for "handlebars/runtime". This is nonsense of course. It should only be in "handlebars".
I think the inclusion should be the other way around: Most typings should be in "runtime.d.ts". "handlebars.d.ts" should include them and add "compile" and "precompile".