Please solve the programming task below using a self-contained code snippet in a markdown code block.

Given two arrays of unique digits nums1 and nums2, return the smallest number that contains at least one digit from each array.
 
Please complete the following python code precisely:
```python
class Solution:
    def minNumber(self, nums1: List[int], nums2: List[int]) -> int:
```