mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-25 17:30:37 +01:00
chore: ignore ts errors after nuxt 3.10
This commit is contained in:
@@ -51,7 +51,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
// @ts-expect-error
|
|
||||||
import { transformContent } from '@nuxt/content/transformers'
|
import { transformContent } from '@nuxt/content/transformers'
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { useShikiHighlighter } from '@nuxtjs/mdc/runtime'
|
import { useShikiHighlighter } from '@nuxtjs/mdc/runtime'
|
||||||
|
|||||||
@@ -21,7 +21,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { camelCase } from 'scule'
|
import { camelCase } from 'scule'
|
||||||
import { fetchContentExampleCode } from '~/composables/useContentExamplesCode'
|
import { fetchContentExampleCode } from '~/composables/useContentExamplesCode'
|
||||||
// @ts-expect-error
|
|
||||||
import { transformContent } from '@nuxt/content/transformers'
|
import { transformContent } from '@nuxt/content/transformers'
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { useShikiHighlighter } from '@nuxtjs/mdc/runtime'
|
import { useShikiHighlighter } from '@nuxtjs/mdc/runtime'
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
// @ts-expect-error
|
|
||||||
import { transformContent } from '@nuxt/content/transformers'
|
import { transformContent } from '@nuxt/content/transformers'
|
||||||
import { upperFirst, camelCase } from 'scule'
|
import { upperFirst, camelCase } from 'scule'
|
||||||
import * as config from '#ui/ui.config'
|
import * as config from '#ui/ui.config'
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { DatePicker as VCalendarDatePicker } from 'v-calendar'
|
import { DatePicker as VCalendarDatePicker } from 'v-calendar'
|
||||||
|
// @ts-ignore
|
||||||
import type { DatePickerDate, DatePickerRangeObject } from 'v-calendar/dist/types/src/use/datePicker'
|
import type { DatePickerDate, DatePickerRangeObject } from 'v-calendar/dist/types/src/use/datePicker'
|
||||||
import 'v-calendar/dist/style.css'
|
import 'v-calendar/dist/style.css'
|
||||||
|
|
||||||
|
|||||||
@@ -31,11 +31,13 @@ type UI = {
|
|||||||
|
|
||||||
declare module 'nuxt/schema' {
|
declare module 'nuxt/schema' {
|
||||||
interface AppConfigInput {
|
interface AppConfigInput {
|
||||||
|
// @ts-ignore
|
||||||
ui?: UI
|
ui?: UI
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
declare module '@nuxt/schema' {
|
declare module '@nuxt/schema' {
|
||||||
interface AppConfigInput {
|
interface AppConfigInput {
|
||||||
|
// @ts-ignore
|
||||||
ui?: UI
|
ui?: UI
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user