* Create type aliases for unresolved type symbols * Accept new baselines * Update fourslash tests * Unresolved import aliases create tagged unresolved symbols * Add comments * Accept new baselines * Add fourslash tests
69 lines
3.3 KiB
Plaintext
69 lines
3.3 KiB
Plaintext
=== tests/cases/conformance/salsa/lovefield-ts.d.ts ===
|
|
// bug #27352, crashes from github.com/google/lovefield
|
|
declare namespace lf {
|
|
>lf : Symbol(lf, Decl(lovefield-ts.d.ts, 0, 0), Decl(lovefield.js, 0, 0))
|
|
|
|
export interface Transaction {
|
|
>Transaction : Symbol(Transaction, Decl(lovefield-ts.d.ts, 1, 22), Decl(lovefield.js, 0, 0))
|
|
|
|
attach(query: query.Builder): Promise<Array<Object>>
|
|
>attach : Symbol(Transaction.attach, Decl(lovefield-ts.d.ts, 2, 32))
|
|
>query : Symbol(query, Decl(lovefield-ts.d.ts, 3, 11))
|
|
>query : Symbol(query)
|
|
>Builder : Symbol(query.Builder)
|
|
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --))
|
|
>Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
|
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
|
|
|
begin(scope: Array<schema.Table>): Promise<void>
|
|
>begin : Symbol(Transaction.begin, Decl(lovefield-ts.d.ts, 3, 56), Decl(lovefield.js, 0, 31))
|
|
>scope : Symbol(scope, Decl(lovefield-ts.d.ts, 4, 10))
|
|
>Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
|
>schema : Symbol(schema)
|
|
>Table : Symbol(schema.Table)
|
|
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --))
|
|
|
|
commit(): Promise<void>
|
|
>commit : Symbol(Transaction.commit, Decl(lovefield-ts.d.ts, 4, 52))
|
|
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --))
|
|
|
|
exec(queries: Array<query.Builder>): Promise<Array<Array<Object>>>
|
|
>exec : Symbol(Transaction.exec, Decl(lovefield-ts.d.ts, 5, 27))
|
|
>queries : Symbol(queries, Decl(lovefield-ts.d.ts, 6, 9))
|
|
>Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
|
>query : Symbol(query)
|
|
>Builder : Symbol(query.Builder)
|
|
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --))
|
|
>Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
|
>Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
|
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
|
|
|
rollback(): Promise<void>
|
|
>rollback : Symbol(Transaction.rollback, Decl(lovefield-ts.d.ts, 6, 70))
|
|
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --))
|
|
|
|
stats(): TransactionStats
|
|
>stats : Symbol(Transaction.stats, Decl(lovefield-ts.d.ts, 7, 29))
|
|
>TransactionStats : Symbol(TransactionStats)
|
|
}
|
|
}
|
|
=== tests/cases/conformance/salsa/lovefield.js ===
|
|
lf.Transaction = function() {};
|
|
>lf.Transaction : Symbol(lf.Transaction, Decl(lovefield-ts.d.ts, 1, 22), Decl(lovefield.js, 0, 0))
|
|
>lf : Symbol(lf, Decl(lovefield-ts.d.ts, 0, 0), Decl(lovefield.js, 0, 0))
|
|
>Transaction : Symbol(lf.Transaction, Decl(lovefield-ts.d.ts, 1, 22), Decl(lovefield.js, 0, 0))
|
|
|
|
/**
|
|
* @param {!Array<!lf.schema.Table>} scope
|
|
* @return {!IThenable}
|
|
*/
|
|
lf.Transaction.prototype.begin = function(scope) {};
|
|
>lf.Transaction.prototype : Symbol(lf.Transaction.begin, Decl(lovefield-ts.d.ts, 3, 56), Decl(lovefield.js, 0, 31))
|
|
>lf.Transaction : Symbol(lf.Transaction, Decl(lovefield-ts.d.ts, 1, 22), Decl(lovefield.js, 0, 0))
|
|
>lf : Symbol(lf, Decl(lovefield-ts.d.ts, 0, 0), Decl(lovefield.js, 0, 0))
|
|
>Transaction : Symbol(lf.Transaction, Decl(lovefield-ts.d.ts, 1, 22), Decl(lovefield.js, 0, 0))
|
|
>prototype : Symbol(Function.prototype, Decl(lib.es5.d.ts, --, --))
|
|
>begin : Symbol(lf.Transaction.begin, Decl(lovefield-ts.d.ts, 3, 56), Decl(lovefield.js, 0, 31))
|
|
>scope : Symbol(scope, Decl(lovefield.js, 5, 42))
|
|
|