This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Description
For the moment, the signatures of the operators are defined as simple strings, but these signatures could be resolved from other information:
- name filed,
- parameters field
- a (missing) return type field.
This way, we could be able to display the signatures in a more friendly and adaptable way.
For example:
export const combineAll: OperatorDoc = {
name: 'combineAll',
operatorType: 'combination',
parameters: [
{
name: 'project',
type: 'function',
optional: true,
description: `An optional function to map the most recent values from each inner Observable into a new result.
Takes each of the most recent values from each collected inner Observable as arguments, in order.`
}
],
returnType: 'Observable',
...
}
contains all the necessary information to write:
combineAll(project?: function): Observable
or, if one prefer:
combineAll(
project?: function // An optional function to map the most recent values from each inner Observable into a new result.
): Observable