-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(typing): update grpc to latest and fix the lastest typing problem (…
…#20) * update grpc to latest and fix the lastest typing problem * travis script * script update * try to speed up build
- Loading branch information
Showing
15 changed files
with
4,987 additions
and
2,449 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
SED_CMD="sed -i" | ||
|
||
if [ "$(uname)" == "Darwin" ]; then | ||
SED_CMD="$SED_CMD ''" | ||
fi | ||
|
||
# this is to fix the typing errors of the grpc error | ||
$SED_CMD 's/Message<any>/Message/g' node_modules/grpc/index.d.ts | ||
|
||
|
||
# this should be fixed in the latest lodash, but grpc looks using an old one | ||
$SED_CMD 's/isWeakSet<T>/\/\/isWeakSet<T>/g' node_modules/@types/lodash/index.d.ts |
Oops, something went wrong.