The typescript declaration file for vtkRenderer (the .d.ts) declares setPreserveColorBuffer // with big ‘B’, but the
javascript definition uses setPreserveColorbuffer // with little ‘b’. So for now I @ts-ignore to work around the issue.
The same goes with setPreserveDepthBuffer.