Skip to content

Property 'VERSION' does not exist on type 'typeof Handlebars' #1647

Closed

Description

@leosdad

Hi,

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.

Activity

  1. nknapp commented on Jan 28, 2020

    @nknapp
    Collaborator

    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.

  2. papasmile commented on Feb 4, 2020

    @papasmile
    Contributor

    Hi, sorry, how do you run tests in test.ts anyway? Just running npm test doesn't seem to include any output from that file...

  3. nknapp commented on Feb 4, 2020

    @nknapp
    Collaborator

    npm run check-before-pull-request should include the tests. Otherwise, run npm run dtslint

  4. added a commit that references this issue on Feb 4, 2020
    4de51fe
  5. nknapp commented on Feb 5, 2020

    @nknapp
    Collaborator

    published in 4.7.3

  6. leosdad commented on Feb 5, 2020

    @leosdad
    Author

    published in 4.7.3

    Thanks!!

  7. added a commit that references this issue on Sep 9, 2026
    50519a6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions