jointrashposs/types/misc.d.ts

44 lines
1.2 KiB
TypeScript
Raw Normal View History

2023-07-08 10:36:02 +02:00
declare module '*.svg' {
import { FunctionalComponent, SVGAttributes } from 'vue'
const src: FunctionalComponent<SVGAttributes>
export default src
2023-09-24 12:43:14 +02:00
}
declare module 'nuxt/schema' {
interface AppConfig {
/** お知らせ */
notice?: {
/**
*
*
* ```js
* defineAppConfig({
* notice: {
* title: {
* ja: '〇〇をリリースしました!',
* en: 'We\'ve released !',
* ...
* },
* ...
* }
* });
* ```
*
**/
title: { ja: string; } & Record<string, string>;
/**
*
*
*
* **`/ja/`**
* : `/ja/docs/releases/` `/docs/releases/`
**/
to: string;
}
}
}
export { };