Skip to content

Commit

Permalink
fix: fix type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tefkah committed Jun 16, 2024
1 parent 0e0bf8c commit e166b3c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 140 deletions.
2 changes: 1 addition & 1 deletion config/tsconfig/nextjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"extends": "./base.json",
"compilerOptions": {
"plugins": [{ "name": "next" }],
"target": "es5",
"target": "es2018",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
Expand Down
2 changes: 1 addition & 1 deletion core/app/c/[communitySlug]/stages/manage/StagesContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export const StagesProvider = (props: StagesProviderProps) => {
);

const fetchStages = useCallback(() => {
actions.revalidateStages(props.communityId);
actions.revalidateStages();
}, [props.communityId]);

useEffect(() => {
Expand Down
137 changes: 0 additions & 137 deletions core/app/components/PubCRUD/PubCreateOld.tsx

This file was deleted.

10 changes: 9 additions & 1 deletion core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "tsconfig/nextjs.json",
"compilerOptions": {
"moduleResolution": "Bundler",
"allowImportingTsExtensions": true,
"noErrorTruncation": true,
"plugins": [
{
Expand All @@ -20,6 +21,13 @@
"module": "CommonJS"
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"instrumentation.node.mts",
"kysely/scripts/generateDatabaseObject.mts"
],
"exclude": ["node_modules"]
}

0 comments on commit e166b3c

Please sign in to comment.