remove optional chaining

This commit is contained in:
Hans Pagel
2021-02-03 15:13:10 +01:00
parent 471f2176e8
commit 17d5d7ce1b

View File

@@ -189,7 +189,7 @@ module.exports = function (api) {
// return null
// }
if (options?.internal?.typeName !== 'DocPage') {
if (options.internal.typeName !== 'DocPage') {
return
}