hyj1991 / v8-profiler-next

node bindings for the v8 profiler
MIT License
218 stars 21 forks source link

takeSnapshot not working on typescript, An argument for 'control' was not provided. #31

Closed ramishenouda closed 3 years ago

ramishenouda commented 3 years ago

image I'm getting the error when trying to compile my project from typescript to javascript I'm using v8-profiler-next version "1.4.2" my node version is 14.0.0

hyj1991 commented 3 years ago

Sorry for this mistake, could you try #32 to see if it solves this issue.

If it did, I will release a new version :)

ramishenouda commented 3 years ago

this fixes the issues :D thank you for the fast response!

hyj1991 commented 3 years ago

Landed in d5006be75f9b5026c053070b0f2a00be3bd9ed16 (v8-profiler-next@v1.4.3).