Remove compiletionSettings handeling from shims

Why are you casting to `<any>`?