I don't understand you. `Buffer` is existing class in Nodejs and should be declare as `Array` (see lib.d.ts). It can be declared as composed class.