Open devanecondition opened 6 months ago
Also .peek()
is defined as returning number[]
, which is actually what max's docs say it returns, but it's wrong, it just returns a number
.
Hi, thanks for this. This repo is just some examples, the actual types are in the Definitely Typed repository so it would be great if you made a PR over there! https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e536587970063e73aea4c2ed48e13158772ea0a8/types/maxmsp/index.d.ts#L2
The
Buffer
has two methods,framecount
andchannelcount
like so:However, they are defined as properties, so calling them gets errors like this:
Would be happy to make a pull request for it, but I'm not quite sure how with this repo.