chore: replace .d.ts type imports with .js imports, as .d.ts imports break usage checks in the IDE

This commit is contained in:
Alessio Gravili
2024-03-07 16:08:49 -05:00
parent b4434a369b
commit 50c7269315
562 changed files with 916 additions and 924 deletions

View File

@@ -6,8 +6,8 @@ import { useFieldPath } from '@payloadcms/ui/forms'
import { useClientFunctions } from '@payloadcms/ui/providers'
import React, { Suspense, lazy, useEffect, useState } from 'react'
import type { RichTextPlugin } from '../types.d.ts'
import type { EnabledFeatures } from './types.d.ts'
import type { RichTextPlugin } from '../types.js'
import type { EnabledFeatures } from './types.js'
import { createFeatureMap } from './createFeatureMap.js'