fable-core
Advanced tools
Comparing version 0.5.5 to 0.6.0
@@ -33,2 +33,4 @@ declare const FSymbol: any; | ||
static toPlainJsObj: (source: any) => any; | ||
} | ||
export declare class Serialize { | ||
static toJson(o: any): string; | ||
@@ -250,2 +252,3 @@ static ofJson(json: any, expected?: Function): any; | ||
static exactlyOne<T>(xs: Iterable<T>): T; | ||
static except<T>(itemsToExclude: Iterable<T>, source: Iterable<T>): Iterable<T>; | ||
static exists<T>(f: (x: T) => boolean, xs: Iterable<T>): boolean; | ||
@@ -309,5 +312,5 @@ static exists2<T1, T2>(f: (x: T1, y: T2) => boolean, xs: Iterable<T1>, ys: Iterable<T2>): boolean; | ||
static takeWhile<T>(f: (x: T) => boolean, xs: Iterable<T>): Iterable<T>; | ||
static tryFind<T>(f: (x: T, i?: number) => boolean, xs: Iterable<T>): T; | ||
static tryFind<T>(f: (x: T, i?: number) => boolean, xs: Iterable<T>, defaultValue?: T): T; | ||
static find<T>(f: (x: T, i?: number) => boolean, xs: Iterable<T>): T; | ||
static tryFindBack<T>(f: (x: T, i?: number) => boolean, xs: Iterable<T>): T; | ||
static tryFindBack<T>(f: (x: T, i?: number) => boolean, xs: Iterable<T>, defaultValue?: T): T; | ||
static findBack<T>(f: (x: T, i?: number) => boolean, xs: Iterable<T>): T; | ||
@@ -455,4 +458,4 @@ static tryFindIndex<T>(f: (x: T, i?: number) => boolean, xs: Iterable<T>): number; | ||
Zero(): (ctx: IAsyncContext<void>) => void; | ||
static singleton: AsyncBuilder; | ||
} | ||
export declare const defaultAsyncBuilder: AsyncBuilder; | ||
export declare class Async { | ||
@@ -459,0 +462,0 @@ static awaitPromise<T>(p: Promise<T>): (ctx: IAsyncContext<T>) => void; |
{ | ||
"name": "fable-core", | ||
"version": "0.5.5", | ||
"version": "0.6.0", | ||
"description": "Fable core lib & bindings for native JS objects, browser and node APIs", | ||
@@ -5,0 +5,0 @@ "main": "fable-core.js", |
@@ -7,8 +7,4 @@ # fable-core | ||
[RELEASE NOTES](https://github.com/fable-compiler/Fable/blob/master/RELEASE_NOTES_CORE.md) | ||
[RELEASE NOTES](https://github.com/fable-compiler/Fable/blob/master/RELEASE_NOTES_CORE.md) · [Follow us on Twitter!](https://twitter.com/FableCompiler) | ||
[![npm](https://img.shields.io/npm/v/fable-core.svg)](https://www.npmjs.com/package/fable-compiler) [![Join the chat at https://gitter.im/fable-compiler/Fable](https://badges.gitter.im/fable-compiler/Fable.svg)](https://gitter.im/fable-compiler/Fable?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
[RELEASE NOTES](https://github.com/fable-compiler/Fable/blob/master/RELEASE_NOTES_CORE.md) | ||
## Installation | ||
@@ -15,0 +11,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
4794887
16475
83