azure-sdk-for-js/sdk/synapse/synapse-access-control/src
Jeremy Meng 191e4ce330 [EngSys] prepare for upgrading TypeScript to v4.6
Before upgrading we want to address the breaking change of catch variable now
defaulting to `unkown` by explicitly specify `: any` for implicit `any` catch
variables in our code base.

This commit applies the result of running the following codemod (credit: Maor)

```ts
import { API, FileInfo } from "jscodeshift";
export default function transformer(file: FileInfo, api: API) {
  const j = api.jscodeshift;
  const code = j(file.source);
  code
    .find(j.CatchClause)
    .filter(({ node }) => {
      return node.param && node.param.type == "Identifier" && !node.param.typeAnnotation;
    })
    .forEach(({ node }) => {
      if (node.param.type == "Identifier") {
        node.param.typeAnnotation = j.tsTypeAnnotation(j.tsAnyKeyword());
      }
    });
  return code.toSource();
}
```
2022-04-19 12:11:57 -07:00
..
models Synapse August release (#16841) 2021-08-10 18:19:45 -07:00
operations [EngSys] prepare for upgrading TypeScript to v4.6 2022-04-19 12:11:57 -07:00
operationsInterfaces Synapse August release (#16841) 2021-08-10 18:19:45 -07:00
accessControlClient.ts Synapse August release (#16841) 2021-08-10 18:19:45 -07:00
accessControlClientContext.ts Update synapse versions (#16888) 2021-08-12 16:22:35 -07:00
index.ts Synapse August release (#16841) 2021-08-10 18:19:45 -07:00
tracing.ts Synapse August release (#16841) 2021-08-10 18:19:45 -07:00