History log of /expo/packages/expo-sqlite/src/ts-declarations/process.d.ts (Results 1 – 2 of 2)
Revision Date Author Comments
# e11b7986 29-May-2020 Stanisław Chmiela <[email protected]>

[expo-sqlite] Fix Web support (#8518)

# Why

I wanted to clear the way for https://github.com/expo/expo/pull/8242 to be landed (or not). I noticed that web support doesn't look like it should work

[expo-sqlite] Fix Web support (#8518)

# Why

I wanted to clear the way for https://github.com/expo/expo/pull/8242 to be landed (or not). I noticed that web support doesn't look like it should work and that it isn't tested anywhere.

# How

- added SQLite test suite to set run on web
- changed the way we fetch values in test suite from using `._array[0]` to `.item(0)`
- added explanations in `SQLite.types.ts` about why we may need a copy of `@types/websql`
- added `Window` declaration to types declarations
- removed `@types/websql` dependency as it's not even importable
- fixed web counterpart — `SQLite.web.ts` — by fixing the method header and gracefully handling situation where `openDatabase` is not available (I think).

# Test Plan

Test suite passes.

show more ...


# 891b93f8 28-Jan-2019 Stanisław Chmiela <[email protected]>

[expo] Fix master

- return pressure in hPa in both vanilla RN and in Expo
- run `yarn` in all packages, rebuilding TS
- fix missing type declarations in `expo-sqlite`
- fix Brightness tests (mocking

[expo] Fix master

- return pressure in hPa in both vanilla RN and in Expo
- run `yarn` in all packages, rebuilding TS
- fix missing type declarations in `expo-sqlite`
- fix Brightness tests (mocking functions moved to jest-expo)
- fix `expo-font` type logic

show more ...