From 2e15ad062552e33c1c1ab0f8ad753a82ce6f1796 Mon Sep 17 00:00:00 2001 From: nafees nazik Date: Sat, 14 Oct 2023 12:54:26 +0530 Subject: [PATCH] fix: type --- frontend/next.config.js | 8 +++----- frontend/package-lock.json | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/frontend/next.config.js b/frontend/next.config.js index 51cf8f308..9d894694f 100644 --- a/frontend/next.config.js +++ b/frontend/next.config.js @@ -1,8 +1,4 @@ -// @ts-check -/** - * @type {import('next').NextConfig} - **/ const path = require("path"); const ContentSecurityPolicy = ` @@ -53,7 +49,9 @@ const securityHeaders = [ value: ContentSecurityPolicy.replace(/\s{2,}/g, " ").trim() } ]; - +/** + * @type {import('next').NextConfig} + **/ module.exports = { output: "standalone", i18n: { diff --git a/frontend/package-lock.json b/frontend/package-lock.json index f97070490..6a8026255 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,5 +1,5 @@ { - "name": "npm-proj-1695919945735-0.225773463026700768rr1Oh", + "name": "frontend", "lockfileVersion": 2, "requires": true, "packages": {