Browse Source

fix type err

kaori 4 years ago
parent
commit
f4279bd6ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/components/Me/EditorSettings.tsx

+ 1 - 1
packages/app/src/components/Me/EditorSettings.tsx

@@ -25,7 +25,7 @@ type LintRule = {
   name: string
   options?: unknown
   isEnabled?: boolean
-}
+} | undefined
 
 type RulesMenuItem = {
   name: string