I do’t know how to fix the typescript error tip?
You need a color4 not a color3 so:
scene.clearColor = new Color4(0, 0, 1, 1);