chore(plugin-redirects): enable TypeScript strict (#11931)
This commit is contained in:
@@ -16,7 +16,9 @@ export const redirectsPlugin =
|
||||
pluginConfig?.redirectTypes?.includes(option.value),
|
||||
),
|
||||
required: true,
|
||||
...((pluginConfig?.redirectTypeFieldOverride || {}) as SelectField),
|
||||
...((pluginConfig?.redirectTypeFieldOverride || {}) as {
|
||||
hasMany: boolean
|
||||
} & Partial<SelectField>),
|
||||
}
|
||||
|
||||
const defaultFields: Field[] = [
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
/* TODO: remove the following lines */
|
||||
"strict": false,
|
||||
},
|
||||
"references": [{ "path": "../payload" }]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user