I am using the TypeScript compiler API to transform TypeScript code, but one thing I haven\'t quite figured out is adding/removing modifiers in a generic way. The closest I\