mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
Vendored
+3
-3
@@ -4,12 +4,12 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
// Ghost module for Types
|
||||
declare module MovieDB {
|
||||
declare namespace MovieDB {
|
||||
export interface IMovieDB {
|
||||
searchMovie(params: SearchOptions, callback: (err: any, movies: SearchResults) => void): void;
|
||||
movieInfo(options: InfoOptions, callback: (err: any, curMovie: Movie) => void): void;
|
||||
|
||||
// More methods TBD:
|
||||
// More methods TBD:
|
||||
// https://github.com/danzajdband/moviedb#available-methods
|
||||
}
|
||||
|
||||
@@ -91,4 +91,4 @@ declare module MovieDB {
|
||||
declare module 'moviedb' {
|
||||
function apiKeyAcceptor(key: string): MovieDB.IMovieDB;
|
||||
export = apiKeyAcceptor;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user