mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
replace internal module to namespace
This commit is contained in:
Vendored
+1
-1
@@ -65,7 +65,7 @@ interface JQuery {
|
||||
}
|
||||
|
||||
/** @module Bacon */
|
||||
declare module Bacon {
|
||||
declare namespace Bacon {
|
||||
/**
|
||||
* @function
|
||||
* @description Creates an [EventStream]{@link Bacon.EventStream} from a `promise` Promise object such as JQuery Ajax. This stream will contain a single value or an error, followed immediately by stream end. You can use the optional `abort` flag (i.e. ´Bacon.fromPromise(p, true)´ to have the `abort` method of the given promise be called when all subscribers have been removed from the created stream.
|
||||
|
||||
Reference in New Issue
Block a user