Skip to content

Commit

Permalink
chore: Flip on noImplicitAny on adapter-nextjs (aws-amplify#12562)
Browse files Browse the repository at this point in the history
* chore: Flip on `noImplicitAny` on `adapter-nextjs`.

* Fix tests.
  • Loading branch information
jimblanc authored Nov 10, 2023
1 parent 92789fb commit a5eb335
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jest.mock(
);

describe('createServerRunner', () => {
let createServerRunner;
let createServerRunner: any;

const mockParseAWSExports = jest.fn();
const mockCreateAWSCredentialsAndIdentityIdProvider = jest.fn();
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"jest-fetch-mock": "3.0.3",
"next": ">= 13.5.0 < 15.0.0",
"rollup": "3.29.4",
"typescript": "5.1.6"
"typescript": "5.0.2"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-nextjs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"target": "es2020",
"noImplicitAny": false,
"noImplicitAny": true,
"lib": ["dom", "es2019", "esnext.asynciterable"],
"module": "commonjs",
"moduleResolution": "node",
Expand Down

0 comments on commit a5eb335

Please sign in to comment.