Issue with os.time + os.date and typechecking

Reproduction StepsThis will give out a warning:

--!strict

os.time(os.date("!*t"))
```**Expected Behavior**No warning since this is not an issue.**Actual Behavior**Warning: 

Type Error: (,) Type ‘DateTypeResult | string’ could not be converted into ‘DateTypeArg?’
caused by:
Not all union options are compatible. Type ‘string’ could not be converted into ‘DateTypeArg?’
caused by:
None of the union options are compatible. For example: Type ‘string’ could not be converted into ‘DateTypeArg’

**Workaround**No need since it is only a warning.**Issue Area:** Studio
**Issue Type:** Other
**Impact:** Low
**Frequency:** Constantly
**Date First Experienced:** 2022-05-03 00:05:00 (+03:00)
3 Likes

Thanks for the report! We’ll follow up when we have an update for you.

1 Like

This has been fixed. We can’t reproduce anymore. Thanks again for the report!