The WS2/AsP vdWHs device with a type-II band structure suppresses dark currents and improves photoelectric characteristics. It boasts a detectivity of 1.72 × 1013 jones and a responsivity of 14.6 A W−1, showing great potential in future applications.