Skip to content

Commit

Permalink
Fixes linting issues with new tslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Karl committed Apr 5, 2017
1 parent c20f3dc commit a0c0b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SoundLibrary.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Filterable from "./Filterable";
import * as filters from "./filters";
import Filter from "./filters/Filter";
import {Options, PlayOptions} from "./Sound";
import {CompleteCallback, Options, PlayOptions} from "./Sound";
import Sound from "./Sound";
import SoundContext from "./SoundContext";
import SoundInstance from "./SoundInstance";
Expand Down Expand Up @@ -362,7 +362,7 @@ export default class SoundLibrary
* this cannot be reused after it is done playing. Returns a Promise if the sound
* has not yet loaded.
*/
public play(alias: string, options?: PlayOptions|Object|string): SoundInstance|Promise<SoundInstance>
public play(alias: string, options?: PlayOptions|CompleteCallback|string): SoundInstance|Promise<SoundInstance>
{
return this.find(alias).play(options);
}
Expand Down

0 comments on commit a0c0b2f

Please sign in to comment.