build(docs-infra): make type-checking stricter by enabling noImplicitAny
(#29926)
PR Close #29926
This commit is contained in:

committed by
Andrew Kushnir

parent
2002db28ff
commit
eb85c8a742
@ -23,7 +23,7 @@ describe(browser.baseUrl, () => {
|
||||
});
|
||||
|
||||
describe('(marketing pages)', () => {
|
||||
const textPerUrl = {
|
||||
const textPerUrl: { [key: string]: string } = {
|
||||
features: 'features & benefits',
|
||||
docs: 'what is angular?',
|
||||
events: 'events',
|
||||
@ -41,7 +41,7 @@ describe(browser.baseUrl, () => {
|
||||
});
|
||||
|
||||
describe('(docs pages)', () => {
|
||||
const textPerUrl = {
|
||||
const textPerUrl: { [key: string]: string } = {
|
||||
api: 'api list',
|
||||
'guide/architecture': 'architecture',
|
||||
'guide/http': 'httpclient',
|
||||
@ -61,7 +61,7 @@ describe(browser.baseUrl, () => {
|
||||
});
|
||||
|
||||
describe('(api docs pages)', () => {
|
||||
const textPerUrl = {
|
||||
const textPerUrl: { [key: string]: string } = {
|
||||
/* Class */ 'api/core/Injector': 'class injector',
|
||||
/* Const */ 'api/forms/NG_VALIDATORS': 'const ng_validators',
|
||||
/* Decorator */ 'api/core/Component': '@component',
|
||||
|
@ -4,6 +4,7 @@
|
||||
"module": "commonjs"
|
||||
},
|
||||
"include": [
|
||||
"../shared/**/*.d.ts",
|
||||
"**/*.ts"
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user