mirror of
				https://github.com/python-escpos/python-escpos
				synced 2025-10-23 09:30:00 +00:00 
			
		
		
		
	Add type annotation to device.setter
This commit is contained in:
		@@ -142,7 +142,7 @@ class Escpos(object):
 | 
			
		||||
        return self._device
 | 
			
		||||
 | 
			
		||||
    @device.setter
 | 
			
		||||
    def device(self, new_device):
 | 
			
		||||
    def device(self, new_device: object):
 | 
			
		||||
        self._device = new_device
 | 
			
		||||
 | 
			
		||||
    def open(self):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user