Skip to content

Commit

Permalink
Fix jake definitions and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
borisyankov committed Aug 7, 2013
1 parent 17f95ed commit 35fccf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jake/jake-tests.ts
@@ -1,7 +1,7 @@
// https://github.com/mde/jake
/// <reference path="jake.d.ts" />

import path = module("path");
import path = require("path");

desc('This is the default task.');
task('default', function (params) {
Expand Down
4 changes: 2 additions & 2 deletions jake/jake.d.ts
Expand Up @@ -182,7 +182,7 @@ declare module jake{
*
* @event complete
*/
export class Task implements EventEmitter{
export class Task implements EventEmitter {
/**
* @name name The name of the Task
* @param prereqs Prerequisites to be run before this task
Expand All @@ -205,7 +205,7 @@ declare module jake{
on(event: string, listener: Function);
once(event: string, listener: Function): void;
removeListener(event: string, listener: Function): void;
removeAllListener(event: string): void;
removeAllListeners(event?: string): void;
setMaxListeners(n: number): void;
listeners(event: string): { Function; }[];
emit(event: string, arg1?: any, arg2?: any): void;
Expand Down

0 comments on commit 35fccf1

Please sign in to comment.