fix: type issue
All checks were successful
All checks were successful
This commit is contained in:
parent
e13cb9bbb9
commit
0849ffe42c
6
front/src/types.d.ts
vendored
6
front/src/types.d.ts
vendored
@ -1,5 +1,5 @@
|
|||||||
import type { AstroComponentFactory } from 'astro/runtime/server/index.js'
|
import type { AstroComponentFactory } from 'astro/runtime/server/index.js'
|
||||||
import type { HTMLAttributes, ImageMetadata } from 'astro/types'
|
import type { HTMLAttributes, ImageMetadata, HTMLInputTypeAttribute } from 'astro/types'
|
||||||
|
|
||||||
export interface Post {
|
export interface Post {
|
||||||
/** A unique ID number that identifies a post. */
|
/** A unique ID number that identifies a post. */
|
||||||
@ -26,7 +26,7 @@ export interface Post {
|
|||||||
/** */
|
/** */
|
||||||
category?: Taxonomy
|
category?: Taxonomy
|
||||||
/** */
|
/** */
|
||||||
tags?: Taxonomy[]
|
tags?: Array<Taxonomy>
|
||||||
/** */
|
/** */
|
||||||
author?: string
|
author?: string
|
||||||
|
|
||||||
@ -167,6 +167,8 @@ export interface Input {
|
|||||||
label?: string
|
label?: string
|
||||||
autocomplete?: string
|
autocomplete?: string
|
||||||
placeholder?: string
|
placeholder?: string
|
||||||
|
class?: string
|
||||||
|
inputClass?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Textarea {
|
export interface Textarea {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user