mirror of https://github.com/TriliumNext/Notes
types(services/sql): explicitly cast return value as type variable T instead of any
previously the type variable was useless, because `const ret = (dbConnection.transaction(func) as any).deferred();` was inferred as "any".pull/1655/head
parent
80dd925231
commit
af85ef0b47
Loading…
Reference in New Issue