tweaselORG / appstraction

An abstraction layer for common instrumentation functions (e.g. installing and starting apps, setting preferences, etc.) on Android and iOS.
MIT License
4 stars 1 forks source link

Add an indicator what type of platform instance we have #62

Closed zner0L closed 1 year ago

zner0L commented 1 year ago

I think if the platform instances had an indicator for what kind of target they have been created, it would make writing typeguards much easier! Let just add something like:

platform.target = {
    os: 'iOS',
    runTarget: 'device'
}