Skip to content

Commit

Permalink
Incorporate christopheranderson#6
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffkoh committed Aug 31, 2018
1 parent 445b324 commit 3a541d1
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/context.d.ts
Original file line number Diff line number Diff line change
@@ -3,11 +3,11 @@ interface Context {
bindingData: any;
bindings: any;
log: {
(text: string): void;
warn: (text: string) => void;
error: (text: string) => void;
info: (text: string) => void;
verbose: (text: string) => void;
(...text: string[]): void;
warn: (...text: string[]) => void;
error: (...text: string[]) => void;
info: (...text: string[]) => void;
verbose: (...text: string[]) => void;
};
done(err?: any, output?: {
[s: string]: any;
10 changes: 5 additions & 5 deletions src/context.ts
Original file line number Diff line number Diff line change
@@ -4,11 +4,11 @@ interface Context {
bindings: any;

log: {
(text: string): void;
warn: (text: string) => void;
error: (text: string) => void;
info: (text: string) => void;
verbose: (text: string) => void;
(...text: string[]): void;
warn: (...text: string[]) => void;
error: (...text: string[]) => void;
info: (...text: string[]) => void;
verbose: (...text: string[]) => void;
}

done(err?: any, output?: { [s: string]: any }): void;

0 comments on commit 3a541d1

Please # to comment.