Skip to content

Commit

Permalink
fix: type on static path interface can be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
zcstarr committed Jun 4, 2021
1 parent ba8ca9d commit c805051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface IHooks {
}


export type IStaticPath = (language: string, type?: string) => string;
export type IStaticPath = (language: string, type?: string) => string | undefined;

export interface IComponentModule {
hooks: IHooks;
Expand Down

0 comments on commit c805051

Please sign in to comment.