Skip to content

Commit 28a19eb

Browse files
enable no implicit any
1 parent 6be3b96 commit 28a19eb

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@
114114
"oc-get-unix-utc-timestamp": "1.0.5",
115115
"oc-s3-storage-adapter": "1.1.6",
116116
"oc-storage-adapters-utils": "1.0.4",
117-
"oc-template-es6": "1.0.5",
118-
"oc-template-es6-compiler": "1.1.12",
119-
"oc-template-handlebars": "6.0.23",
120-
"oc-template-handlebars-compiler": "6.2.17",
121-
"oc-template-jade": "7.0.4",
122-
"oc-template-jade-compiler": "7.0.5",
117+
"oc-template-es6": "1.0.6",
118+
"oc-template-es6-compiler": "1.1.13",
119+
"oc-template-handlebars": "6.0.24",
120+
"oc-template-handlebars-compiler": "6.2.18",
121+
"oc-template-jade": "7.0.5",
122+
"oc-template-jade-compiler": "7.0.6",
123123
"open": "8.3.0",
124124
"parse-author": "2.0.0",
125125
"read": "1.0.7",

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export interface Template {
207207
getCompiledTemplate: (
208208
templateString: string,
209209
key: string,
210-
context: Record<string, unknown>
210+
context?: Record<string, unknown>
211211
) => CompiledTemplate;
212212
getInfo: () => TemplateInfo;
213213
render: (

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676

7777
/* Type Checking */
7878
"strict": true /* Enable all strict type-checking options. */,
79-
"noImplicitAny": false /* Enable error reporting for expressions and declarations with an implied `any` type.. */,
79+
"noImplicitAny": true /* Enable error reporting for expressions and declarations with an implied `any` type.. */,
8080
// "strictNullChecks": true, /* When type checking, take into account `null` and `undefined`. */
8181
// "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
8282
// "strictBindCallApply": true, /* Check that the arguments for `bind`, `call`, and `apply` methods match the original function. */

0 commit comments

Comments
 (0)