fix(ci): replace ts-expect-error with ts-ignore for importMap
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Successful in 1m55s
Build & Deploy / 🏗️ Build (push) Successful in 11m18s
Build & Deploy / 🚀 Deploy (push) Successful in 22s
Build & Deploy / 🧪 Post-Deploy Verification (push) Failing after 2m46s
Build & Deploy / 🔔 Notify (push) Successful in 1s

This commit is contained in:
2026-03-02 18:20:16 +01:00
parent 964cd79ca8
commit 90856da773
3 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
"use server";
import { handleServerFunctions as payloadHandleServerFunctions } from "@payloadcms/next/layouts";
import config from "@payload-config";
// @ts-expect-error - Payload generates this file during the build process
// @ts-ignore - Payload generates this file during the build process
import { importMap } from "./admin/importMap";
export const handleServerFunctions = async (args: any) => {

View File

@@ -2,7 +2,7 @@ import type { Metadata } from "next";
import configPromise from "@payload-config";
import { RootPage, generatePageMetadata } from "@payloadcms/next/views";
// @ts-expect-error - Payload generates this file during the build process
// @ts-ignore - Payload generates this file during the build process
import { importMap } from "../importMap";
type Args = {

View File

@@ -4,7 +4,7 @@ import { RootLayout } from "@payloadcms/next/layouts";
import React from "react";
import { handleServerFunctions } from "./actions";
// @ts-expect-error - Payload generates this file during the build process
// @ts-ignore - Payload generates this file during the build process
import { importMap } from "./admin/importMap";
export default function Layout({ children }: { children: React.ReactNode }) {