facebook / memlab

A framework for finding JavaScript memory leaks and analyzing heap snapshots
https://facebook.github.io/memlab/
MIT License
4.37k stars 119 forks source link

docs: Update example usage of analyze API in documentation #73

Closed yarinba closed 1 year ago

yarinba commented 1 year ago

This PR updates the example usage of the analyze API in the documentation for the @memlab/api package. The existing example was missing the analyze import and was not functional. This PR fixes the example by adding the necessary import and function call.

The existing example was incorrect and could cause confusion for users trying to use the analyze API. This change ensures that the example is correct and functional, making it easier for users to understand and use the API.

facebook-github-bot commented 1 year ago

@JacksonGL has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 1 year ago

@JacksonGL merged this pull request in facebook/memlab@47125a75f1611acba05b0e93a0e8a50dfb76ba63.