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
Just a simple request. When calling handlebars.VERSION, the error message Property 'VERSION' does not exist on type 'typeof Handlebars' appears when using Typescript. I believe this is just a simple fix in the index.d.ts file. Thanks.
Can you open a PR for that? Please also include a test in test.ts . It would also be nice to have the documentation updated (the API reference on handlebarsjs.com) to include this feature.
Activity
nknapp commentedon Jan 28, 2020
Can you open a PR for that? Please also include a test in test.ts . It would also be nice to have the documentation updated (the API reference on handlebarsjs.com) to include this feature.
papasmile commentedon Feb 4, 2020
Hi, sorry, how do you run tests in
test.ts
anyway? Just runningnpm test
doesn't seem to include any output from that file...nknapp commentedon Feb 4, 2020
npm run check-before-pull-request
should include the tests. Otherwise, runnpm run dtslint
Add Type Definition for Handlebars.VERSION, Fixes #1647
nknapp commentedon Feb 5, 2020
published in 4.7.3
leosdad commentedon Feb 5, 2020
Thanks!!