8000 TypeError: tocktimer_1.Tock is not a constructor · Issue #40 · mrchimp/tock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
TypeError: tocktimer_1.Tock is not a constructor #40
Open
@malorus

Description

@malorus

Hi, using this library, I run into the following error:

Tock is not a constructor

I'm using it in conjunction with nodejs and Typescript:

import { Tock } from 'tocktimer';

export class MyClass {
time = new Tock();

...
}

why does the error occur? Any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0