Skip to content

Commit 4373e43

Browse files
refactor(ts): enable noImplicitAny in tsconfig (#355)
1 parent 7cf5d83 commit 4373e43

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

handwritten/datastore/test/request.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ describe('Request', () => {
120120

121121
it('should format an entity', () => {
122122
const key = {};
123-
const entityObject = {data: true};
123+
// tslint:disable-next-line:no-any
124+
const entityObject: any = {data: true};
124125
entityObject[entity.KEY_SYMBOL] = key;
125126
const preparedEntityObject =
126127
Request.prepareEntityObject_(entityObject) as Any;

handwritten/datastore/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"extends": "./node_modules/gts/tsconfig-google.json",
33
"compilerOptions": {
44
"rootDir": ".",
5-
"outDir": "build",
6-
"noImplicitAny": false
5+
"outDir": "build"
76
},
87
"include": [
98
"src/*.ts",

0 commit comments

Comments
 (0)