Skip to content

Commit

Permalink
fix: logger function parameter type
Browse files Browse the repository at this point in the history
  • Loading branch information
Hidetaka Okamoto committed Jun 29, 2021
1 parent d5c1920 commit 063cfc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const sleep = async (time = 1000) => {
}

export namespace interfaces {
export type LoggerFunction = (...str: string[]) => void;
export type LoggerFunction = (...str: any[]) => void;
// To Write any method to the new CloudFront distribution config
export type UpdatorFunction = (dist: {id: string; arn: string}, distributionConfig: DistributionConfig) => DistributionConfig | null | Promise<DistributionConfig | null>

Expand Down

0 comments on commit 063cfc8

Please sign in to comment.