fix(bazel): update to tsickle 0.37.1 to fix peerDep warnings (#33788)
tsickle 0.37.1 is compatible with typescript 3.6, so we should use it and fix peerDep warnings from npm/yarn. PR Close #33788
This commit is contained in:

committed by
Matias Niemelä

parent
18574cfed1
commit
719ca1d23c
@ -252,7 +252,10 @@ export function compile({allDepsCompiledWithBazel = true, compilerOpts, tsHost,
|
||||
}
|
||||
|
||||
// Prevent tsickle adding any types at all if we don't want closure compiler annotations.
|
||||
bazelHost.transformTypesToClosure = compilerOpts.annotateForClosureCompiler;
|
||||
if (compilerOpts.annotateForClosureCompiler) {
|
||||
bazelHost.transformTypesToClosure = true;
|
||||
bazelHost.transformDecorators = true;
|
||||
}
|
||||
const origBazelHostFileExist = bazelHost.fileExists;
|
||||
bazelHost.fileExists = (fileName: string) => {
|
||||
if (NGC_ASSETS.test(fileName)) {
|
||||
|
Reference in New Issue
Block a user