handlebars-lang/handlebars.js
Voir sur GitHubTypings allow calling "compile" when including "handlebars/runtime".
Open
#1 513 ouverte le 16 mars 2019
bughelp wantedtypingsunverified
Métriques du dépôt
- Stars
- (17 697 stars)
- Métriques de merge PR
- (Merge moyen 15j) (4 PRs mergées en 30 j)
Description
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".