diff --git a/.eslintrc.js b/.eslintrc.js index 829f33a110a81e2efe47e346d00884abd024fd2d..0f8da1d01b0843b6f851943ae77239ba2f673101 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -34,7 +34,9 @@ module.exports = { "react/no-unescaped-entities": 0, "@typescript-eslint/no-floating-promises": 0, "@typescript-eslint/no-unsafe-assignment": 1, - "prettier/prettier": "error" + "@typescript-eslint/no-empty-interface": 0, + "@typescript-eslint/no-namespace": 1, + "prettier/prettier": "error", }, settings: { react: { diff --git a/src/types/navigation/index.tsx b/src/types/navigation/index.tsx index 700cea2f8a414f1ed591eddf8790f07436b74a97..f171b626a6f8181aeca0f65301707ae994eea184 100644 --- a/src/types/navigation/index.tsx +++ b/src/types/navigation/index.tsx @@ -1,9 +1,8 @@ -/* eslint-disable @typescript-eslint/no-namespace */ import { RootStackParamList } from "./RootStack"; declare global { namespace ReactNavigation { - type RootParamList = RootStackParamList; + interface RootParamList extends RootStackParamList {} } }