Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Fix Build : "Cannot find name 'Exclude" #396

Merged
merged 1 commit into from
Mar 7, 2019

Conversation

mayurkale22
Copy link
Member

@mayurkale22 mayurkale22 commented Mar 6, 2019

Upgrading to typescript@2.8.3 fixed the build issue on gRPC package.

@mayurkale22
Copy link
Member Author

Earlier build error:

> @opencensus/instrumentation-grpc@0.0.9 compile /home/node/project/packages/opencensus-instrumentation-grpc
> tsc -p .

node_modules/@types/lodash/common/object.d.ts:1689:12 - error TS2304: Cannot find name 'Exclude'.

1689         ): Exclude<TObject[TKey], undefined> | TDefault;
                ~~~~~~~


node_modules/@types/lodash/common/object.d.ts:1766:12 - error TS2304: Cannot find name 'Exclude'.

1766         ): Exclude<TObject[TKey], undefined> | TDefault;
                ~~~~~~~


node_modules/@types/lodash/common/object.d.ts:1842:34 - error TS2304: Cannot find name 'Exclude'.

1842         ): LoDashExplicitWrapper<Exclude<TObject[TKey], undefined> | TDefault>;
                                      ~~~~~~~

@mayurkale22 mayurkale22 merged commit 342a10e into census-instrumentation:master Mar 7, 2019
@mayurkale22 mayurkale22 deleted the grpc_ts_fix branch March 7, 2019 01:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants