UNPKG
@acutmore/rxjs
Version:
latest (1.6.0)
1.6.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.0
Reactive Extensions for modern JavaScript
github.com/youviewtv/rxjs-5/
@acutmore/rxjs
/
dist
/
package
/
internal
/
operators
/
defaultIfEmpty.d.ts
4 lines
(3 loc)
•
265 B
TypeScript
View Raw
1
2
3
4
import
{
OperatorFunction
,
MonoTypeOperatorFunction
}
from
'../../internal/types'
;
export
declare
function
defaultIfEmpty<T>(
defaultValue
?: T):
MonoTypeOperatorFunction
<T>;
export
declare
function
defaultIfEmpty<T, R>(
defaultValue
?: R):
OperatorFunction
<T, T | R>;