update setLength documentation to reflect code

Relevant : https://github.com/borisyankov/DefinitelyTyped/pull/2912/files#r18273220 Using this to confirm if this is usage the Three.js team wants allowed