0

He banged shut [the door].
He banged [the door] shut.
Both are correct.
Here is a very beautiful line consisting of similar construction from contemporary fiction genre:
The next moment she was grateful for the wind that had left Nelson Street and blown through the cane fields, banging shut t...