File: prototypePropertyAssignmentMergeWithInterfaceMethod.errors.txt

package info (click to toggle)
node-typescript 5.0.4%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 459,116 kB
  • sloc: javascript: 1,972,754; makefile: 6; sh: 1
file content (41 lines) | stat: -rw-r--r-- 2,069 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
tests/cases/conformance/salsa/lovefield-ts.d.ts(4,19): error TS2503: Cannot find namespace 'query'.
tests/cases/conformance/salsa/lovefield-ts.d.ts(5,24): error TS2503: Cannot find namespace 'schema'.
tests/cases/conformance/salsa/lovefield-ts.d.ts(7,25): error TS2503: Cannot find namespace 'query'.
tests/cases/conformance/salsa/lovefield-ts.d.ts(9,14): error TS2552: Cannot find name 'TransactionStats'. Did you mean 'Transaction'?
tests/cases/conformance/salsa/lovefield.js(3,23): error TS2694: Namespace 'lf' has no exported member 'schema'.
tests/cases/conformance/salsa/lovefield.js(4,14): error TS2304: Cannot find name 'IThenable'.


==== tests/cases/conformance/salsa/lovefield-ts.d.ts (4 errors) ====
    // bug #27352, crashes from github.com/google/lovefield
    declare namespace lf {
      export interface Transaction {
        attach(query: query.Builder): Promise<Array<Object>>
                      ~~~~~
!!! error TS2503: Cannot find namespace 'query'.
        begin(scope: Array<schema.Table>): Promise<void>
                           ~~~~~~
!!! error TS2503: Cannot find namespace 'schema'.
        commit(): Promise<void>
        exec(queries: Array<query.Builder>): Promise<Array<Array<Object>>>
                            ~~~~~
!!! error TS2503: Cannot find namespace 'query'.
        rollback(): Promise<void>
        stats(): TransactionStats
                 ~~~~~~~~~~~~~~~~
!!! error TS2552: Cannot find name 'TransactionStats'. Did you mean 'Transaction'?
!!! related TS2728 tests/cases/conformance/salsa/lovefield.js:1:1: 'Transaction' is declared here.
      }
    }
==== tests/cases/conformance/salsa/lovefield.js (2 errors) ====
    lf.Transaction = function() {};
    /**
     * @param {!Array<!lf.schema.Table>} scope
                          ~~~~~~
!!! error TS2694: Namespace 'lf' has no exported member 'schema'.
     * @return {!IThenable}
                 ~~~~~~~~~
!!! error TS2304: Cannot find name 'IThenable'.
     */
    lf.Transaction.prototype.begin = function(scope) {};