When using typescript a declared interface could look like this:
interface MyInterface { test: string; }
And an implementation with extra
In your example newTest property won't be accessible thru the reduced variable, so that's the goal of using types. The typescript brings type checking, but it doesn't manipulates the object properties.