convert Paintable code to typescript, https://github.com/phetsims/scenery/issues/1329
convert Paintable code to typescript, https://github.com/phetsims/scenery/issues/1329

phetsims/scenery,phetsims/scenery,phetsims/scenery