Skip to content

Commit

Permalink
fix baconjs/baconjs-tests.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vvakame committed Feb 23, 2016
1 parent 9d11eef commit f504ccb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions baconjs/baconjs-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function CreatingStreams() {
var stream = Bacon.fromBinder(sink => {
sink("first value");
sink([new Bacon.Next("2nd"), new Bacon.Next("3rd")]);
sink(new Bacon.Next(() => {
sink(new Bacon.Next((): string => {
return "This one will be evaluated lazily"
}));
sink(new Bacon.Error("oops, an error"));
Expand All @@ -88,7 +88,7 @@ function CreatingStreams() {
}

new Bacon.Next("value");
new Bacon.Next(() => "value");
new Bacon.Next((): string => "value");
}

function CommonMethodsInEventStreamsAndProperties() {
Expand Down Expand Up @@ -296,7 +296,7 @@ function CombiningMultipleStreamsAndProperties() {

function $Event() {
new Bacon.Next("value");
new Bacon.Next(() => "value");
new Bacon.Next((): string => "value");
}

function Errors() {
Expand Down

0 comments on commit f504ccb

Please sign in to comment.