Skip to content

Commit

Permalink
fix(types): minor TypeScript fixes (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
bensalilijames authored and benjie committed Oct 23, 2019
1 parent 1a8a0bc commit 0170064
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/graphile-build-pg/src/QueryBuilder.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export default class QueryBuilder {
public setOrderIsUnique(): void;
public orderBy(
exprGen: SQLGen,
ascending: boolean,
nullsFirst: boolean | null
ascending?: boolean,
nullsFirst?: boolean | null
): void;
public limit(limitGen: NumberGen): void;
public offset(offsetGen: NumberGen): void;
Expand Down
2 changes: 1 addition & 1 deletion packages/graphile-utils/src/makeExtendSchemaPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export interface Resolvers<TSource = any, TContext = any> {

export interface ExtensionDefinition {
typeDefs: DocumentNode;
resolvers: Resolvers;
resolvers?: Resolvers;
}

interface NewTypeDef {
Expand Down

0 comments on commit 0170064

Please sign in to comment.