Skip to content

Build fails with several "property X does not  #402

@orgads

Description

@orgads

Environment details

  • OS: Windows 10 and Debian testing
  • Node.js version: 12
  • npm version: 6.14.4
  • google-gax version: 90034ce6a8c9b635942fedb23345105264979416

Steps to reproduce

npx tsc -p .
(or npm install which invokes it)

test/browser-test/test.grpc-fallback.ts:93:21 - error TS2339: Property 'echo' does not exist on type 'Service'.

93     assert(echoStub.echo instanceof Function);
                       ~~~~

test/browser-test/test.grpc-fallback.ts:94:21 - error TS2339: Property 'pagedExpand' does not exist on type 'Service'.

94     assert(echoStub.pagedExpand instanceof Function);
                       ~~~~~~~~~~~

test/browser-test/test.grpc-fallback.ts:95:21 - error TS2339: Property 'wait' does not exist on type 'Service'.

95     assert(echoStub.wait instanceof Function);
                       ~~~~

test/browser-test/test.grpc-fallback.ts:101:33 - error TS2339: Property 'echo' does not exist on type 'Service'.

101     assert.strictEqual(echoStub.echo.length, 4);
                                    ~~~~

test/browser-test/test.grpc-fallback.ts:114:21 - error TS2339: Property 'echo' does not exist on type 'Service'.

114     assert(echoStub.echo instanceof Function);
                        ~~~~

test/browser-test/test.grpc-fallback.ts:115:21 - error TS2339: Property 'collect' does not exist on type 'Service'.

115     assert(echoStub.collect instanceof Function);
                        ~~~~~~~

test/browser-test/test.grpc-fallback.ts:116:21 - error TS2339: Property 'chat' does not exist on type 'Service'.

116     assert(echoStub.chat instanceof Function);
                        ~~~~

test/browser-test/test.grpc-fallback.ts:122:33 - error TS2339: Property 'echo' does not exist on type 'Service'.

122     assert.strictEqual(echoStub.echo.length, 4);
                                    ~~~~

test/unit/grpc-fallback.ts:98:35 - error TS2339: Property 'echo' does not exist on type 'Service'.

98     assert.strict(typeof echoStub.echo, 'function');
                                     ~~~~

test/unit/grpc-fallback.ts:99:35 - error TS2339: Property 'pagedExpand' does not exist on type 'Service'.

99     assert.strict(typeof echoStub.pagedExpand, 'function');
                                     ~~~~~~~~~~~

test/unit/grpc-fallback.ts:100:35 - error TS2339: Property 'wait' does not exist on type 'Service'.

100     assert.strict(typeof echoStub.wait, 'function');
                                      ~~~~

test/unit/grpc-fallback.ts:106:33 - error TS2339: Property 'echo' does not exist on type 'Service'.

106     assert.strictEqual(echoStub.echo.length, 4);
                                    ~~~~

test/unit/grpc-fallback.ts:119:40 - error TS2339: Property 'echo' does not exist on type 'Service'.

119     assert.strictEqual(typeof echoStub.echo, 'function');
                                           ~~~~

test/unit/grpc-fallback.ts:120:40 - error TS2339: Property 'collect' does not exist on type 'Service'.

120     assert.strictEqual(typeof echoStub.collect, 'function');
                                           ~~~~~~~

test/unit/grpc-fallback.ts:121:40 - error TS2339: Property 'chat' does not exist on type 'Service'.

121     assert.strictEqual(typeof echoStub.chat, 'function');
                                           ~~~~

test/unit/grpc-fallback.ts:127:33 - error TS2339: Property 'echo' does not exist on type 'Service'.

127     assert.strictEqual(echoStub.echo.length, 4);
                                    ~~~~

Found 16 errors.

Metadata

Metadata

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions