Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Incorrect signature for $_$twiz.track() #44

Closed
urish opened this issue Mar 26, 2018 · 0 comments
Closed

Incorrect signature for $_$twiz.track() #44

urish opened this issue Mar 26, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@urish
Copy link
Collaborator

urish commented Mar 26, 2018

The current type declaration for $_$twiz.track() specifies that the second argument is a number, and the third one is a string, but it's actually the other way around.

Signature:

    declare namespace $_$twiz {
        function track<T>(v: T, p: number, f: string): T;
    }

Actual function definition:

    export const track = (value: any, filename: string, offset: number) => {
        // ...
    }
@urish urish added the bug Something isn't working label Mar 26, 2018
@urish urish self-assigned this Mar 26, 2018
@urish urish closed this as completed in 481f03c Mar 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant