Skip to content

Commit

Permalink
fix: optionality in types of Redirect (#3749)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky authored Oct 18, 2021
1 parent 521bfd8 commit 568516f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/build/types/config/netlify_config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ type HttpStatusCode = number

interface Redirect {
from: string
to: string
to?: string
status?: HttpStatusCode
force: boolean
force?: boolean
signed?: string
query: Partial<Record<string, string>>
headers: Partial<Record<string, string>>
conditions: Record<'language' | 'role' | 'country', readonly string[]>
query?: Partial<Record<string, string>>
headers?: Partial<Record<string, string>>
conditions?: Record<'language' | 'role' | 'country', readonly string[]>
}

interface Header {
Expand Down

0 comments on commit 568516f

Please sign in to comment.