Created
September 4, 2016 09:15
-
-
Save buntine/bfc5289f13da89e318a0fe8e5aaec0af to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Structure { | |
export interface Tab { | |
preload(callback: () => void): void; | |
execute(): void; | |
build(set: Array<Structure.Person>): boolean; | |
built(): boolean; | |
} | |
} | |
class Impact implements Structure.Tab { | |
constructor() { | |
// ... | |
} | |
public preload(callback: () => void): void { | |
// ... | |
callback(); | |
} | |
public execute(): void { | |
// ... | |
} | |
public build(set: Array<Structure.Person>): boolean { | |
// ... | |
return true; | |
} | |
public built(): boolean { | |
// ... | |
return true; | |
} | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment