fix: TldData interface types
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
This commit is contained in:
@ -33,9 +33,9 @@ interface TldData {
|
|||||||
registration_price: number | null
|
registration_price: number | null
|
||||||
renewal_price: number | null
|
renewal_price: number | null
|
||||||
registrar_count: number
|
registrar_count: number
|
||||||
description?: string
|
description?: string | null
|
||||||
introduced?: string
|
introduced?: string | null
|
||||||
registry?: string
|
registry?: string | null
|
||||||
}
|
}
|
||||||
|
|
||||||
interface PriceHistory {
|
interface PriceHistory {
|
||||||
|
|||||||
@ -10,9 +10,9 @@ interface TldData {
|
|||||||
registration_price: number | null
|
registration_price: number | null
|
||||||
renewal_price: number | null
|
renewal_price: number | null
|
||||||
registrar_count: number
|
registrar_count: number
|
||||||
description?: string
|
description?: string | null
|
||||||
introduced?: string
|
introduced?: string | null
|
||||||
registry?: string
|
registry?: string | null
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getTldData(tld: string): Promise<TldData | null> {
|
async function getTldData(tld: string): Promise<TldData | null> {
|
||||||
|
|||||||
Reference in New Issue
Block a user