Build VS Code using TypeScript 3.1.1

Fixes #59757
This commit is contained in:
Matt Bierner
2018-10-01 10:54:54 -07:00
parent 0d0bfe8ddc
commit d37076a596
14 changed files with 28 additions and 26 deletions

View File

@@ -23,7 +23,8 @@ export function hash(obj: any, hashVal = 0): number {
case 'number':
return numberHash(obj, hashVal);
case 'undefined':
return numberHash(obj, 937);
// TODO: TS 3.1 upgrade. Why are we passing undefined here?
return numberHash(obj as any, 937);
default:
return numberHash(obj, 617);
}