forked from WhitestormJS/whs.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds DefineModule type, fixes a few check style issues WhitestormJS#386
Former-commit-id: eeaa709
- Loading branch information
1 parent
8bb2ae2
commit 05af673
Showing
3 changed files
with
31 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export class DefineModule { | ||
|
||
/** | ||
* @constructor Creates a Define Module. | ||
* @param name name of the module | ||
* @param data module data | ||
*/ | ||
constructor(name: String, data: Object); | ||
|
||
/** | ||
* Plays the given clip name | ||
* @param clipName - the clip name to play | ||
*/ | ||
play(clipName: string): void; | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from './app'; | ||
export * from './mesh'; | ||
export * from './mesh'; | ||
export * from './DefineModule'; |
This file contains 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