Skip to content

Commit

Permalink
fix(overmind-graphql): Add 'ReadonlyArray' interface to type 'Literals'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Kalachev committed Jul 5, 2021
1 parent d2bb723 commit f12ce66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/overmind-graphql/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function createError(message: string) {
throw new Error(`OVERMIND-GRAPHQL: ${message}`)
}

type Literals = string | string[]
type Literals = string | ReadonlyArray<string>

export const gql = (
literals: Literals,
Expand Down

0 comments on commit f12ce66

Please sign in to comment.