diff --git a/.flowconfig b/.flowconfig index 616fda9..21b97c0 100644 --- a/.flowconfig +++ b/.flowconfig @@ -4,7 +4,6 @@ /build/.* [untyped] -/lib/flowNonLSP/pkg/commons-node /lib/flowNonLSP/pkg/flow-base/lib/FlowHelpers.js [include] @@ -13,13 +12,7 @@ flow-libs [options] -suppress_comment=.*\\$FlowFixMe.* -suppress_comment=.*\\$FlowIssue.* -suppress_comment=\\(.\\|\n\\)*\\$FlowDisableNextLine - suppress_type=$FixMe -experimental.lsp.code_actions=true - [version] -^0.107.0 +^0.146.0 diff --git a/flow-libs/vscode.js.flow b/flow-libs/vscode.js.flow index f51c530..9e5dde1 100644 --- a/flow-libs/vscode.js.flow +++ b/flow-libs/vscode.js.flow @@ -4666,12 +4666,7 @@ declare module 'vscode' { +focused: boolean; } - /** - * Namespace for dealing with the current window of the editor. That is visible - * and active editors, as well as, UI elements to show messages, selections, and - * asking for user input. - */ - declare export var window: { + declare export interface Window{ /** * The currently active editor or `undefined`. The active editor is the one @@ -4794,7 +4789,18 @@ declare module 'vscode' { * @param items A set of items that will be rendered as actions in the message. * @return A thenable that resolves to the selected item or `undefined` when being dismissed. */ - showInformationMessage(message: string, options?: MessageOptions, ...items: T[]): Thenable; + showInformationMessage(message: string, options?: MessageOptions, ...items: T[]): Thenable; + + /** + * Show an information message. + * + * @see [showInformationMessage](#window.showInformationMessage) + * + * @param message The message to show. + * @param items A set of items that will be rendered as actions in the message. + * @return A thenable that resolves to the selected item or `undefined` when being dismissed. + */ + showInformationMessage(message: string, ...items: T[]): Thenable; /** * Show a warning message. @@ -4818,7 +4824,18 @@ declare module 'vscode' { * @param items A set of items that will be rendered as actions in the message. * @return A thenable that resolves to the selected item or `undefined` when being dismissed. */ - showWarningMessage(message: string, options?: MessageOptions, ...items: T[]): Thenable; + showWarningMessage(message: string, options?: MessageOptions, ...items: T[]): Thenable; + + /** + * Show a warning message. + * + * @see [showInformationMessage](#window.showInformationMessage) + * + * @param message The message to show. + * @param items A set of items that will be rendered as actions in the message. + * @return A thenable that resolves to the selected item or `undefined` when being dismissed. + */ + showWarningMessage(message: string, ...items: T[]): Thenable; /** * Show an error message. @@ -4842,7 +4859,18 @@ declare module 'vscode' { * @param items A set of items that will be rendered as actions in the message. * @return A thenable that resolves to the selected item or `undefined` when being dismissed. */ - showErrorMessage(message: string, options?: MessageOptions, ...items: T[]): Thenable; + showErrorMessage(message: string, options?: MessageOptions, ...items: T[]): Thenable; + + /** + * Show an error message. + * + * @see [showInformationMessage](#window.showInformationMessage) + * + * @param message The message to show. + * @param items A set of items that will be rendered as actions in the message. + * @return A thenable that resolves to the selected item or `undefined` when being dismissed. + */ + showErrorMessage(message: string, ...items: T[]): Thenable; /** * Shows a selection list. @@ -4862,7 +4890,7 @@ declare module 'vscode' { * @param token A token that can be used to signal cancellation. * @return A promise that resolves to the selected item or `undefined`. */ - showQuickPick(items: T[] | Thenable, options?: QuickPickOptions, token?: CancellationToken): Thenable; + showQuickPick(items: T[] | Thenable, options?: QuickPickOptions, token?: CancellationToken): Thenable; /** * Shows a selection list of [workspace folders](#workspace.workspaceFolders) to pick from. @@ -4995,6 +5023,13 @@ declare module 'vscode' { /* END PROPOSED *********************************************************************************/ } + /** + * Namespace for dealing with the current window of the editor. That is visible + * and active editors, as well as, UI elements to show messages, selections, and + * asking for user input. + */ + declare export var window: Window; + /** * A data provider that provides tree data */ diff --git a/flow-typed/npm/@babel/cli_vx.x.x.js b/flow-typed/npm/@babel/cli_vx.x.x.js index 9b903da..8821271 100644 --- a/flow-typed/npm/@babel/cli_vx.x.x.js +++ b/flow-typed/npm/@babel/cli_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 62d70546ee0bc28c87e627de7c99b5bf -// flow-typed version: <>/@babel/cli_v^7.5.5/flow_v0.103.0 +// flow-typed signature: 64a764c4bb8affe259acebccbc31111c +// flow-typed version: <>/@babel/cli_v^7.6.0/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/@babel/core_vx.x.x.js b/flow-typed/npm/@babel/core_vx.x.x.js index 13b12db..c6040dc 100644 --- a/flow-typed/npm/@babel/core_vx.x.x.js +++ b/flow-typed/npm/@babel/core_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 7659818783cdee1aa133f7685dd0a0e1 -// flow-typed version: <>/@babel/core_v^7.5.5/flow_v0.103.0 +// flow-typed signature: 1f916ae6674a92541d14c279350cb009 +// flow-typed version: <>/@babel/core_v^7.6.0/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/@babel/plugin-proposal-class-properties_vx.x.x.js b/flow-typed/npm/@babel/plugin-proposal-class-properties_vx.x.x.js index a7187c7..0fda910 100644 --- a/flow-typed/npm/@babel/plugin-proposal-class-properties_vx.x.x.js +++ b/flow-typed/npm/@babel/plugin-proposal-class-properties_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 0956f2158bf9b5110fa48112f584d1ee -// flow-typed version: <>/@babel/plugin-proposal-class-properties_v^7.5.5/flow_v0.103.0 +// flow-typed signature: 4ed10463afe3212275dcfc8b264b7b2e +// flow-typed version: <>/@babel/plugin-proposal-class-properties_v^7.5.5/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/@babel/preset-env_vx.x.x.js b/flow-typed/npm/@babel/preset-env_vx.x.x.js index 0d05f34..8bf4c3b 100644 --- a/flow-typed/npm/@babel/preset-env_vx.x.x.js +++ b/flow-typed/npm/@babel/preset-env_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 3b32674d4044cb4178ea0b594a5b0b25 -// flow-typed version: <>/@babel/preset-env_v^7.5.5/flow_v0.103.0 +// flow-typed signature: 381740185408981fa5291f234370a0ff +// flow-typed version: <>/@babel/preset-env_v^7.6.0/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/@babel/preset-flow_vx.x.x.js b/flow-typed/npm/@babel/preset-flow_vx.x.x.js index 4f8c1c7..aeda36e 100644 --- a/flow-typed/npm/@babel/preset-flow_vx.x.x.js +++ b/flow-typed/npm/@babel/preset-flow_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 7d1692b7a9550dfb9bbdcf87bacd88a3 -// flow-typed version: <>/@babel/preset-flow_v^7.0.0/flow_v0.103.0 +// flow-typed signature: ee6d984f0632f5d9cd56e910582dd20d +// flow-typed version: <>/@babel/preset-flow_v^7.0.0/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-jest_vx.x.x.js b/flow-typed/npm/babel-jest_vx.x.x.js index a84244d..22db969 100644 --- a/flow-typed/npm/babel-jest_vx.x.x.js +++ b/flow-typed/npm/babel-jest_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: e4b85cd0c2288ebfc5fdd90a2a2bcfc1 -// flow-typed version: <>/babel-jest_v24.8.0/flow_v0.103.0 +// flow-typed signature: 225e5671844ccfe83a7ac0f26bdbbc63 +// flow-typed version: <>/babel-jest_v24.9.0/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/bin-version_vx.x.x.js b/flow-typed/npm/bin-version_vx.x.x.js index 93f4c3c..6f6911f 100644 --- a/flow-typed/npm/bin-version_vx.x.x.js +++ b/flow-typed/npm/bin-version_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 5cfa3a8c9f7440ea8a2dd7938294390c -// flow-typed version: <>/bin-version_v4.0.0/flow_v0.103.0 +// flow-typed signature: f85933aa7917f22789d543d5eec25a2f +// flow-typed version: <>/bin-version_v4.0.0/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/builtin-modules_vx.x.x.js b/flow-typed/npm/builtin-modules_vx.x.x.js index f6ac602..91f0645 100644 --- a/flow-typed/npm/builtin-modules_vx.x.x.js +++ b/flow-typed/npm/builtin-modules_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 8e8bc7834188f7cebab3b26b4cc9ddb9 -// flow-typed version: <>/builtin-modules_v3.1.0/flow_v0.103.0 +// flow-typed signature: 4515b5527230c3feabf5318adae01c17 +// flow-typed version: <>/builtin-modules_v3.1.0/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/cross-spawn_vx.x.x.js b/flow-typed/npm/cross-spawn_vx.x.x.js index 3d65dda..caef36d 100644 --- a/flow-typed/npm/cross-spawn_vx.x.x.js +++ b/flow-typed/npm/cross-spawn_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 81e899ab0265089213c30f75f76f6f19 -// flow-typed version: <>/cross-spawn_v^6.0.5/flow_v0.103.0 +// flow-typed signature: 91d874a2d1064fbb3c28313934833049 +// flow-typed version: <>/cross-spawn_v^6.0.5/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/dequeue_vx.x.x.js b/flow-typed/npm/dequeue_vx.x.x.js index fe8b0c1..619a8c4 100644 --- a/flow-typed/npm/dequeue_vx.x.x.js +++ b/flow-typed/npm/dequeue_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: a1b693033e813607fb772240c7bb0dd2 -// flow-typed version: <>/dequeue_v^1.0.5/flow_v0.103.0 +// flow-typed signature: c020941cb6d3087e7b276196f04e7dd5 +// flow-typed version: <>/dequeue_v^1.0.5/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/elegant-spinner_vx.x.x.js b/flow-typed/npm/elegant-spinner_vx.x.x.js index 22834a9..2f8233d 100644 --- a/flow-typed/npm/elegant-spinner_vx.x.x.js +++ b/flow-typed/npm/elegant-spinner_vx.x.x.js @@ -1,33 +1,6 @@ -// flow-typed signature: 9e21284ffc14d712204443b55f4b9330 -// flow-typed version: <>/elegant-spinner_v^1.0.1/flow_v0.103.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'elegant-spinner' - * - * Fill this stub out by replacing all the `any` types. - * - * Once filled out, we encourage you to share your work with the - * community by sending a pull request to: - * https://github.com/flowtype/flow-typed - */ - declare module 'elegant-spinner' { - declare module.exports: any; -} - -/** - * We include stubs for each file inside this npm package in case you need to - * require those files directly. Feel free to delete any files that aren't - * needed. - */ - - -// Filename aliases -declare module 'elegant-spinner/index' { - declare module.exports: $Exports<'elegant-spinner'>; -} -declare module 'elegant-spinner/index.js' { - declare module.exports: $Exports<'elegant-spinner'>; + declare module.exports: {| + (): () => string, + +frames: Array, + |}; } diff --git a/flow-typed/npm/eslint-plugin-import_vx.x.x.js b/flow-typed/npm/eslint-plugin-import_vx.x.x.js index 16c60fa..edba7c7 100644 --- a/flow-typed/npm/eslint-plugin-import_vx.x.x.js +++ b/flow-typed/npm/eslint-plugin-import_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 34da2a9c22ae5244033fc89c928d92a8 -// flow-typed version: <>/eslint-plugin-import_v2.18.2/flow_v0.103.0 +// flow-typed signature: 41458262d52199417fd9b6b0a961ed93 +// flow-typed version: <>/eslint-plugin-import_v2.18.2/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/eslint-plugin-playlyfe_vx.x.x.js b/flow-typed/npm/eslint-plugin-playlyfe_vx.x.x.js index c7ad136..2ab2e5e 100644 --- a/flow-typed/npm/eslint-plugin-playlyfe_vx.x.x.js +++ b/flow-typed/npm/eslint-plugin-playlyfe_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: c0c09d0f38da5e69962ef48c05824294 -// flow-typed version: <>/eslint-plugin-playlyfe_v7.0.1/flow_v0.104.0 +// flow-typed signature: a318023726977f70163187b134fe8752 +// flow-typed version: <>/eslint-plugin-playlyfe_v7.0.1/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/eslint_vx.x.x.js b/flow-typed/npm/eslint_vx.x.x.js index 7a819e4..428396d 100644 --- a/flow-typed/npm/eslint_vx.x.x.js +++ b/flow-typed/npm/eslint_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 42371106170f00325ab46a405f8ca775 -// flow-typed version: <>/eslint_v6.1.0/flow_v0.104.0 +// flow-typed signature: c129cc42ab7e36091fb09a145a59451c +// flow-typed version: <>/eslint_v6.3.0/flow_v0.146.0 /** * This is an autogenerated libdef stub for: @@ -414,6 +414,10 @@ declare module 'eslint/lib/rules/func-style' { declare module.exports: any; } +declare module 'eslint/lib/rules/function-call-argument-newline' { + declare module.exports: any; +} + declare module 'eslint/lib/rules/function-paren-newline' { declare module.exports: any; } @@ -1789,6 +1793,9 @@ declare module 'eslint/lib/rules/func-names.js' { declare module 'eslint/lib/rules/func-style.js' { declare module.exports: $Exports<'eslint/lib/rules/func-style'>; } +declare module 'eslint/lib/rules/function-call-argument-newline.js' { + declare module.exports: $Exports<'eslint/lib/rules/function-call-argument-newline'>; +} declare module 'eslint/lib/rules/function-paren-newline.js' { declare module.exports: $Exports<'eslint/lib/rules/function-paren-newline'>; } diff --git a/flow-typed/npm/event-kit_vx.x.x.js b/flow-typed/npm/event-kit_vx.x.x.js index 0a3ad9e..5eaec80 100644 --- a/flow-typed/npm/event-kit_vx.x.x.js +++ b/flow-typed/npm/event-kit_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 7a9e82c276ee4c4559f004a013a70d1f -// flow-typed version: <>/event-kit_v^2.5.3/flow_v0.103.0 +// flow-typed signature: 09ec0dfb2371d32ee92bd62872e38bc6 +// flow-typed version: <>/event-kit_v^2.5.3/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/flow-bin_v0.x.x.js b/flow-typed/npm/flow-bin_v0.x.x.js index c538e20..fda1f29 100644 --- a/flow-typed/npm/flow-bin_v0.x.x.js +++ b/flow-typed/npm/flow-bin_v0.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 6a5610678d4b01e13bbfbbc62bdaf583 -// flow-typed version: 3817bc6980/flow-bin_v0.x.x/flow_>=v0.25.x +// flow-typed signature: 28fdff7f110e1c75efab63ff205dda30 +// flow-typed version: c6154227d1/flow-bin_v0.x.x/flow_>=v0.104.x declare module "flow-bin" { declare module.exports: string; diff --git a/flow-typed/npm/fs-plus_vx.x.x.js b/flow-typed/npm/fs-plus_vx.x.x.js index d337605..3486167 100644 --- a/flow-typed/npm/fs-plus_vx.x.x.js +++ b/flow-typed/npm/fs-plus_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 4cb2034a1b9975cc504473db90da4e27 -// flow-typed version: <>/fs-plus_v^3.1.1/flow_v0.103.0 +// flow-typed signature: 3b5d77751bddd174c8fc97e13fe3b94d +// flow-typed version: <>/fs-plus_v^3.1.1/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/fuzzaldrin_v2.x.x.js b/flow-typed/npm/fuzzaldrin_v2.x.x.js index 59e30c0..f245020 100644 --- a/flow-typed/npm/fuzzaldrin_v2.x.x.js +++ b/flow-typed/npm/fuzzaldrin_v2.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 14e5e212dd7ed5c1db95d28a9d629409 -// flow-typed version: 94e9f7e0a4/fuzzaldrin_v2.x.x/flow_>=v0.25.x +// flow-typed signature: e93785ee18dd58c4d2996b0b0ec61179 +// flow-typed version: c6154227d1/fuzzaldrin_v2.x.x/flow_>=v0.104.x declare module 'fuzzaldrin' { declare module.exports: { @@ -7,6 +7,8 @@ declare module 'fuzzaldrin' { filter(candidates: Array, query: string, options?: { key?: string, maxResults?: number, + ... }): Array, + ... } } diff --git a/flow-typed/npm/jest_v24.x.x.js b/flow-typed/npm/jest_v24.x.x.js index f9790b5..322e26c 100644 --- a/flow-typed/npm/jest_v24.x.x.js +++ b/flow-typed/npm/jest_v24.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 27f8467378a99b6130bd20f54f31a644 -// flow-typed version: 6cb9e99836/jest_v24.x.x/flow_>=v0.104.x +// flow-typed signature: 7b77dfa87943ca37c25723daf183427e +// flow-typed version: 7afca48d86/jest_v24.x.x/flow_>=v0.104.x type JestMockFn, TReturn> = { (...args: TArguments): TReturn, @@ -533,13 +533,36 @@ type JestExtendedMatchersType = { ... }; +// Diffing snapshot utility for Jest (snapshot-diff) +// https://github.com/jest-community/snapshot-diff +type SnapshotDiffType = { + /** + * Compare the difference between the actual in the `expect()` + * vs the object inside `valueB` with some extra options. + */ + toMatchDiffSnapshot( + valueB: any, + options?: {| + expand?: boolean; + colors?: boolean; + contextLines?: number; + stablePatchmarks?: boolean; + aAnnotation?: string; + bAnnotation?: string; + |}, + testName?: string + ): void, + ... +} + interface JestExpectType { not: JestExpectType & EnzymeMatchersType & DomTestingLibraryType & JestJQueryMatchersType & JestStyledComponentsMatchersType & - JestExtendedMatchersType; + JestExtendedMatchersType & + SnapshotDiffType; /** * If you have a mock function, you can use .lastCalledWith to test what * arguments it was last called with. @@ -810,7 +833,7 @@ type JestObjectType = { * Returns the actual module instead of a mock, bypassing all checks on * whether the module should receive a mock implementation or not. */ - requireActual(moduleName: string): any, + requireActual(m: $Flow$ModuleRef | string): T, /** * Returns a mock module instead of the actual module, bypassing all checks * on whether the module should be required normally or not. @@ -901,7 +924,7 @@ type JestObjectType = { type JestSpyType = { calls: JestCallsType, ... }; type JestDoneFn = {| - (): void, + (error?: Error): void, fail: (error: Error) => void, |}; @@ -1130,7 +1153,8 @@ declare var expect: { DomTestingLibraryType & JestJQueryMatchersType & JestStyledComponentsMatchersType & - JestExtendedMatchersType, + JestExtendedMatchersType & + SnapshotDiffType, /** Add additional Jasmine matchers to Jest's roster */ extend(matchers: { [name: string]: JestMatcher, ... }): void, /** Add a module that formats application-specific data structures. */ diff --git a/flow-typed/npm/lodash.debounce_vx.x.x.js b/flow-typed/npm/lodash.debounce_vx.x.x.js index 755cfb9..f6a27a8 100644 --- a/flow-typed/npm/lodash.debounce_vx.x.x.js +++ b/flow-typed/npm/lodash.debounce_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 360f9fd6ca6643872972440f32424059 -// flow-typed version: <>/lodash.debounce_v^4.0.8/flow_v0.103.0 +// flow-typed signature: 84a5d7871c42eebea951d4d80cb21a0f +// flow-typed version: <>/lodash.debounce_v^4.0.8/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/prettier_v1.x.x.js b/flow-typed/npm/prettier_v1.x.x.js index 098b335..8b91c23 100644 --- a/flow-typed/npm/prettier_v1.x.x.js +++ b/flow-typed/npm/prettier_v1.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: ec743a1b5c1197353e0849812930f32a -// flow-typed version: c6154227d1/prettier_v1.x.x/flow_>=v0.104.x +// flow-typed signature: a18c145fa181510ba16b10d17fc3a5a8 +// flow-typed version: 01acbe56d4/prettier_v1.x.x/flow_>=v0.104.x declare module "prettier" { declare export type AST = { [key: string]: any, ... }; @@ -204,6 +204,11 @@ declare module "prettier" { languages: Array, options: Array |}; + + declare export type FileInfo = {| + ignored: boolean, + inferredParser: PrettierParserName | null, + |}; declare export type Prettier = {| format: (source: string, options?: Options) => string, @@ -215,7 +220,8 @@ declare module "prettier" { ... }, clearConfigCache: () => void, - getSupportInfo: (version?: string) => SupportInfo + getSupportInfo: (version?: string) => SupportInfo, + getFileInfo: (filePath: string) => Promise |}; declare export default Prettier; diff --git a/flow-typed/npm/rollup-plugin-babel_vx.x.x.js b/flow-typed/npm/rollup-plugin-babel_vx.x.x.js index 3525e84..0f4a5c3 100644 --- a/flow-typed/npm/rollup-plugin-babel_vx.x.x.js +++ b/flow-typed/npm/rollup-plugin-babel_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: c0114ad23d205525bc3e14bb0568229b -// flow-typed version: <>/rollup-plugin-babel_v4.3.3/flow_v0.103.0 +// flow-typed signature: 018caaa921a234de898ade2d4199cc10 +// flow-typed version: <>/rollup-plugin-babel_v4.3.3/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/rollup-plugin-commonjs_vx.x.x.js b/flow-typed/npm/rollup-plugin-commonjs_vx.x.x.js index 8ae59b9..eb7588b 100644 --- a/flow-typed/npm/rollup-plugin-commonjs_vx.x.x.js +++ b/flow-typed/npm/rollup-plugin-commonjs_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 34e3a6e3ae52fd2a8a36a9720be4dd6f -// flow-typed version: <>/rollup-plugin-commonjs_v10.0.2/flow_v0.104.0 +// flow-typed signature: 971a44d0d010d9af4e08ed5f03966ef0 +// flow-typed version: <>/rollup-plugin-commonjs_v10.1.0/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/rollup-plugin-node-resolve_vx.x.x.js b/flow-typed/npm/rollup-plugin-node-resolve_vx.x.x.js index 1bf5ff4..607b3d7 100644 --- a/flow-typed/npm/rollup-plugin-node-resolve_vx.x.x.js +++ b/flow-typed/npm/rollup-plugin-node-resolve_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 1e8ae77158a96437e3a699b600a769a1 -// flow-typed version: <>/rollup-plugin-node-resolve_v5.2.0/flow_v0.103.0 +// flow-typed signature: 4c038bf5800cf1508259cbd631733760 +// flow-typed version: <>/rollup-plugin-node-resolve_v5.2.0/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/rollup-plugin-progress_vx.x.x.js b/flow-typed/npm/rollup-plugin-progress_vx.x.x.js index b29d498..b504135 100644 --- a/flow-typed/npm/rollup-plugin-progress_vx.x.x.js +++ b/flow-typed/npm/rollup-plugin-progress_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: f41dfd992fe56df8e6821dd9487c7204 -// flow-typed version: <>/rollup-plugin-progress_v1.1.1/flow_v0.103.0 +// flow-typed signature: 0ca7e6eed8dadd3885101e6f3f61614d +// flow-typed version: <>/rollup-plugin-progress_v1.1.1/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/rollup-plugin-terser_vx.x.x.js b/flow-typed/npm/rollup-plugin-terser_vx.x.x.js index c515d8d..8f01029 100644 --- a/flow-typed/npm/rollup-plugin-terser_vx.x.x.js +++ b/flow-typed/npm/rollup-plugin-terser_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 5bfe75c87380c44f3a51a998a5eaa2f3 -// flow-typed version: <>/rollup-plugin-terser_v5.1.1/flow_v0.103.0 +// flow-typed signature: f553c7895d54cccd2b1d148bf2749c33 +// flow-typed version: <>/rollup-plugin-terser_v5.1.1/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/rollup_vx.x.x.js b/flow-typed/npm/rollup_vx.x.x.js index 4b6fba2..3d7d76f 100644 --- a/flow-typed/npm/rollup_vx.x.x.js +++ b/flow-typed/npm/rollup_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 01505e9d5556e999513b5fa2f5ede9bc -// flow-typed version: <>/rollup_v1.18.0/flow_v0.104.0 +// flow-typed signature: 8c7201f36f4c0cfc4bb162fe394caa10 +// flow-typed version: <>/rollup_v1.21.2/flow_v0.146.0 /** * This is an autogenerated libdef stub for: @@ -38,6 +38,10 @@ declare module 'rollup/dist/rollup' { declare module.exports: any; } +declare module 'rollup/dist/shared' { + declare module.exports: any; +} + // Filename aliases declare module 'rollup/dist/rollup.browser.es.js' { declare module.exports: $Exports<'rollup/dist/rollup.browser.es'>; @@ -51,3 +55,9 @@ declare module 'rollup/dist/rollup.es.js' { declare module 'rollup/dist/rollup.js' { declare module.exports: $Exports<'rollup/dist/rollup'>; } +declare module 'rollup/dist/shared/index' { + declare module.exports: $Exports<'rollup/dist/shared'>; +} +declare module 'rollup/dist/shared/index.js' { + declare module.exports: $Exports<'rollup/dist/shared'>; +} diff --git a/flow-typed/npm/rxjs_v5.0.x.js b/flow-typed/npm/rxjs_v5.0.x.js new file mode 100644 index 0000000..583054c --- /dev/null +++ b/flow-typed/npm/rxjs_v5.0.x.js @@ -0,0 +1,1652 @@ +// flow-typed signature: 9f6489ad61e0a20a036bd8ec80ff6b03 +// flow-typed version: c6154227d1/rxjs_v5.0.x/flow_>=v0.104.x + +type rxjs$PartialObserver<-T> = + | { + +next: (value: T) => mixed, + +error?: (error: any) => mixed, + +complete?: () => mixed, + ... +} + | { + +next?: (value: T) => mixed, + +error: (error: any) => mixed, + +complete?: () => mixed, + ... +} + | { + +next?: (value: T) => mixed, + +error?: (error: any) => mixed, + +complete: () => mixed, + ... +}; + +declare interface rxjs$ISubscription { + unsubscribe(): void; +} + +type rxjs$TeardownLogic = rxjs$ISubscription | (() => void); + +type rxjs$EventListenerOptions = + | { + capture?: boolean, + passive?: boolean, + once?: boolean, + ... +} + | boolean; + +type rxjs$ObservableInput = rxjs$Observable | Promise | Iterable; + +type rxjs$OperatorFunction = (rxjs$Observable) => rxjs$Observable; +type rxjs$OperatorFunctionLast> = ( + rxjs$Observable +) => R; + +declare class rxjs$Observable<+T> { + static bindCallback( + callbackFunc: (callback: (_: void) => any) => any, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): () => rxjs$Observable; + static bindCallback( + callbackFunc: (callback: (result: U) => any) => any, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): () => rxjs$Observable; + static bindCallback( + callbackFunc: (v1: T, callback: (result: U) => any) => any, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): (v1: T) => rxjs$Observable; + static bindCallback( + callbackFunc: (v1: T, v2: T2, callback: (result: U) => any) => any, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): (v1: T, v2: T2) => rxjs$Observable; + static bindCallback( + callbackFunc: (v1: T, v2: T2, v3: T3, callback: (result: U) => any) => any, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): (v1: T, v2: T2, v3: T3) => rxjs$Observable; + static bindCallback( + callbackFunc: ( + v1: T, + v2: T2, + v3: T3, + v4: T4, + callback: (result: U) => any + ) => any, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): (v1: T, v2: T2, v3: T3, v4: T4) => rxjs$Observable; + static bindCallback( + callbackFunc: ( + v1: T, + v2: T2, + v3: T3, + v4: T4, + v5: T5, + callback: (result: U) => any + ) => any, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => rxjs$Observable; + static bindCallback( + callbackFunc: ( + v1: T, + v2: T2, + v3: T3, + v4: T4, + v5: T5, + v6: T6, + callback: (result: U) => any + ) => any, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => rxjs$Observable; + static bindCallback( + callbackFunc: (callback: (...args: Array) => any) => any, + selector: (...args: Array) => U, + scheduler?: rxjs$SchedulerClass + ): () => rxjs$Observable; + static bindCallback( + callbackFunc: (v1: T, callback: (...args: Array) => any) => any, + selector: (...args: Array) => U, + scheduler?: rxjs$SchedulerClass + ): (v1: T) => rxjs$Observable; + static bindCallback( + callbackFunc: ( + v1: T, + v2: T2, + callback: (...args: Array) => any + ) => any, + selector: (...args: Array) => U, + scheduler?: rxjs$SchedulerClass + ): (v1: T, v2: T2) => rxjs$Observable; + static bindCallback( + callbackFunc: ( + v1: T, + v2: T2, + v3: T3, + callback: (...args: Array) => any + ) => any, + selector: (...args: Array) => U, + scheduler?: rxjs$SchedulerClass + ): (v1: T, v2: T2, v3: T3) => rxjs$Observable; + static bindCallback( + callbackFunc: ( + v1: T, + v2: T2, + v3: T3, + v4: T4, + callback: (...args: Array) => any + ) => any, + selector: (...args: Array) => U, + scheduler?: rxjs$SchedulerClass + ): (v1: T, v2: T2, v3: T3, v4: T4) => rxjs$Observable; + static bindCallback( + callbackFunc: ( + v1: T, + v2: T2, + v3: T3, + v4: T4, + v5: T5, + callback: (...args: Array) => any + ) => any, + selector: (...args: Array) => U, + scheduler?: rxjs$SchedulerClass + ): (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => rxjs$Observable; + static bindCallback( + callbackFunc: ( + v1: T, + v2: T2, + v3: T3, + v4: T4, + v5: T5, + v6: T6, + callback: (...args: Array) => any + ) => any, + selector: (...args: Array) => U, + scheduler?: rxjs$SchedulerClass + ): (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => rxjs$Observable; + static bindCallback( + callbackFunc: Function, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): (...args: Array) => rxjs$Observable; + static bindCallback( + callbackFunc: Function, + selector?: (...args: Array) => T, + scheduler?: rxjs$SchedulerClass + ): (...args: Array) => rxjs$Observable; + + static bindNodeCallback( + callbackFunc: (callback: (err: any, result: U) => any) => any, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): () => rxjs$Observable; + static bindNodeCallback( + callbackFunc: (v1: T, callback: (err: any, result: U) => any) => any, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): (v1: T) => rxjs$Observable; + static bindNodeCallback( + callbackFunc: ( + v1: T, + v2: T2, + callback: (err: any, result: U) => any + ) => any, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): (v1: T, v2: T2) => rxjs$Observable; + static bindNodeCallback( + callbackFunc: ( + v1: T, + v2: T2, + v3: T3, + callback: (err: any, result: U) => any + ) => any, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): (v1: T, v2: T2, v3: T3) => rxjs$Observable; + static bindNodeCallback( + callbackFunc: ( + v1: T, + v2: T2, + v3: T3, + v4: T4, + callback: (err: any, result: U) => any + ) => any, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): (v1: T, v2: T2, v3: T3, v4: T4) => rxjs$Observable; + static bindNodeCallback( + callbackFunc: ( + v1: T, + v2: T2, + v3: T3, + v4: T4, + v5: T5, + callback: (err: any, result: U) => any + ) => any, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => rxjs$Observable; + static bindNodeCallback( + callbackFunc: ( + v1: T, + v2: T2, + v3: T3, + v4: T4, + v5: T5, + v6: T6, + callback: (err: any, result: U) => any + ) => any, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => rxjs$Observable; + static bindNodeCallback( + callbackFunc: Function, + selector?: void, + scheduler?: rxjs$SchedulerClass + ): (...args: Array) => rxjs$Observable; + static bindNodeCallback( + callbackFunc: Function, + selector?: (...args: Array) => T, + scheduler?: rxjs$SchedulerClass + ): (...args: Array) => rxjs$Observable; + + static concat(...sources: rxjs$Observable[]): rxjs$Observable; + + static create( + subscribe: ( + observer: rxjs$Observer + ) => rxjs$ISubscription | Function | void + ): rxjs$Observable; + + static defer( + observableFactory: () => rxjs$Observable | Promise + ): rxjs$Observable; + + static from( + input: rxjs$ObservableInput, + scheduler?: rxjs$SchedulerClass + ): rxjs$Observable; + + static fromEvent( + element: any, + eventName: string, + ...none: Array + ): rxjs$Observable; + static fromEvent( + element: any, + eventName: string, + options: rxjs$EventListenerOptions, + ...none: Array + ): rxjs$Observable; + static fromEvent( + element: any, + eventName: string, + selector: () => T, + ...none: Array + ): rxjs$Observable; + static fromEvent( + element: any, + eventName: string, + options: rxjs$EventListenerOptions, + selector: () => T + ): rxjs$Observable; + + static fromEventPattern( + addHandler: (handler: (item: T) => void) => void, + removeHandler: (handler: (item: T) => void) => void, + selector?: () => T + ): rxjs$Observable; + + static fromPromise(promise: Promise): rxjs$Observable; + + static empty(): rxjs$Observable; + + static interval(period: number): rxjs$Observable; + + static timer( + initialDelay: number | Date, + period?: number, + scheduler?: rxjs$SchedulerClass + ): rxjs$Observable; + + static merge( + source0: rxjs$Observable, + source1: rxjs$Observable + ): rxjs$Observable; + static merge( + source0: rxjs$Observable, + source1: rxjs$Observable, + source2: rxjs$Observable + ): rxjs$Observable; + static merge(...sources: rxjs$Observable[]): rxjs$Observable; + + static never(): rxjs$Observable; + + static of(...values: T[]): rxjs$Observable; + + static race(...sources: rxjs$Observable[]): rxjs$Observable; + + static range( + start?: number, + count?: number, + scheduler?: rxjs$SchedulerClass + ): rxjs$Observable; + + static throw(error: any): rxjs$Observable; + + audit( + durationSelector: (value: T) => rxjs$Observable | Promise + ): rxjs$Observable; + + auditTime( + duration: number, + scheduler?: rxjs$SchedulerClass + ): rxjs$Observable; + + race(other: rxjs$Observable): rxjs$Observable; + + repeat(count?: number): rxjs$Observable; + + buffer(bufferBoundaries: rxjs$Observable): rxjs$Observable>; + + bufferCount( + bufferSize: number, + startBufferEvery?: number + ): rxjs$Observable>; + + bufferTime( + bufferTimeSpan: number, + bufferCreationInterval?: number, + maxBufferSize?: number, + scheduler?: rxjs$SchedulerClass + ): rxjs$Observable>; + + bufferToggle( + openings: rxjs$Observable | Promise, + closingSelector: (value: U) => rxjs$Observable | Promise + ): rxjs$Observable>; + + bufferWhen( + closingSelector: () => rxjs$Observable + ): rxjs$Observable>; + + catch( + selector: (err: any, caught: rxjs$Observable) => rxjs$Observable + ): rxjs$Observable; + + concat(...sources: rxjs$Observable[]): rxjs$Observable; + + concatAll(): rxjs$Observable; + + concatMap( + f: (value: T, index: number) => rxjs$ObservableInput, + _: void + ): rxjs$Observable; + concatMap( + f: (value: T, index: number) => rxjs$ObservableInput, + resultSelector: ( + outerValue: T, + innerValue: U, + outerIndex: number, + innerIndex: number + ) => V + ): rxjs$Observable; + + debounceTime( + dueTime: number, + scheduler?: rxjs$SchedulerClass + ): rxjs$Observable; + + defaultIfEmpty(defaultValue: U): rxjs$Observable; + + delay(dueTime: number, scheduler?: rxjs$SchedulerClass): rxjs$Observable; + + delayWhen( + delayDurationSelector: (value: T) => rxjs$Observable, + subscriptionDelay?: rxjs$Observable + ): rxjs$Observable; + + distinctUntilChanged(compare?: (x: T, y: T) => boolean): rxjs$Observable; + + distinct( + keySelector?: (value: T) => U, + flushes?: rxjs$Observable + ): rxjs$Observable; + + distinctUntilKeyChanged( + key: string, + compare?: (x: mixed, y: mixed) => boolean + ): rxjs$Observable; + + elementAt(index: number, defaultValue?: T): rxjs$Observable; + + exhaustMap( + project: (value: T, index: number) => rxjs$ObservableInput, + _: void + ): rxjs$Observable; + exhaustMap( + project: (value: T, index: number) => rxjs$ObservableInput, + resultSelector: ( + outerValue: T, + innerValue: U, + outerIndex: number, + innerIndex: number + ) => V + ): rxjs$Observable; + + expand( + project: (value: T, index: number) => rxjs$Observable, + concurrent?: number, + scheduler?: rxjs$SchedulerClass + ): rxjs$Observable; + + filter(predicate: typeof Boolean): rxjs$Observable<$NonMaybeType>; + filter( + predicate: (value: T, index: number) => boolean, + thisArg?: any + ): rxjs$Observable; + + finally(f: () => mixed): rxjs$Observable; + + first( + predicate?: (value: T, index: number, source: rxjs$Observable) => boolean + ): rxjs$Observable; + first( + predicate: ?( + value: T, + index: number, + source: rxjs$Observable + ) => boolean, + resultSelector: (value: T, index: number) => U + ): rxjs$Observable; + first( + predicate: ?( + value: T, + index: number, + source: rxjs$Observable + ) => boolean, + resultSelector: ?(value: T, index: number) => U, + defaultValue: U + ): rxjs$Observable; + + groupBy( + keySelector: (value: T) => K, + _: void + ): rxjs$Observable>; + groupBy( + keySelector: (value: T) => K, + elementSelector: (value: T) => V, + durationSelector?: ( + grouped: rxjs$GroupedObservable + ) => rxjs$Observable + ): rxjs$Observable>; + + ignoreElements(): rxjs$Observable; + + last( + predicate?: (value: T, index: number, source: rxjs$Observable) => boolean + ): rxjs$Observable; + last( + predicate: ?( + value: T, + index: number, + source: rxjs$Observable + ) => boolean, + resultSelector: (value: T, index: number) => U + ): rxjs$Observable; + last( + predicate: ?( + value: T, + index: number, + source: rxjs$Observable + ) => boolean, + resultSelector: ?(value: T, index: number) => U, + defaultValue: U + ): rxjs$Observable; + + let( + project: (self: rxjs$Observable) => rxjs$Observable + ): rxjs$Observable; + + // Alias for `let` + letBind( + project: (self: rxjs$Observable) => rxjs$Observable + ): rxjs$Observable; + + switch(): T; // assumption: T is Observable + + // Alias for `mergeMap` + flatMap( + project: (value: T, index: number) => rxjs$ObservableInput, + concurrency?: number + ): rxjs$Observable; + flatMap( + project: (value: T, index: number) => rxjs$ObservableInput, + resultSelector: ( + outerValue: T, + innerValue: U, + outerIndex: number, + innerIndex: number + ) => V, + concurrency?: number + ): rxjs$Observable; + + flatMapTo(innerObservable: rxjs$Observable): rxjs$Observable; + + flatMapTo( + innerObservable: rxjs$Observable, + resultSelector: ( + outerValue: T, + innerValue: U, + outerIndex: number, + innerIndex: number + ) => V, + concurrent?: number + ): rxjs$Observable; + + switchMap( + project: (value: T, index: number) => rxjs$ObservableInput, + _: void + ): rxjs$Observable; + switchMap( + project: (value: T, index: number) => rxjs$ObservableInput, + resultSelector: ( + outerValue: T, + innerValue: U, + outerIndex: number, + innerIndex: number + ) => V + ): rxjs$Observable; + + switchMapTo(innerObservable: rxjs$Observable): rxjs$Observable; + + map(f: (value: T, index: number) => U, thisArg?: any): rxjs$Observable; + + mapTo(value: U): rxjs$Observable; + + merge(other: rxjs$Observable): rxjs$Observable; + + mergeAll(): rxjs$Observable; + + mergeMap( + project: (value: T, index: number) => rxjs$ObservableInput, + concurrency?: number + ): rxjs$Observable; + mergeMap( + project: (value: T, index: number) => rxjs$ObservableInput, + resultSelector: ( + outerValue: T, + innerValue: U, + outerIndex: number, + innerIndex: number + ) => V, + concurrency?: number + ): rxjs$Observable; + + mergeMapTo(innerObservable: rxjs$Observable): rxjs$Observable; + + mergeMapTo( + innerObservable: rxjs$Observable, + resultSelector: ( + outerValue: T, + innerValue: U, + outerIndex: number, + innerIndex: number + ) => V, + concurrent?: number + ): rxjs$Observable; + + multicast( + subjectOrSubjectFactory: rxjs$Subject | (() => rxjs$Subject) + ): rxjs$ConnectableObservable; + + observeOn(scheduler: rxjs$SchedulerClass): rxjs$Observable; + + pairwise(): rxjs$Observable<[T, T]>; + + partition( + predicate: (value: T, index: number) => boolean, + thisArg: any + ): [rxjs$Observable, rxjs$Observable]; + + pipe(): rxjs$Observable; + + pipe(op1: rxjs$OperatorFunctionLast): A; + + pipe( + op1: rxjs$OperatorFunction, + op2: rxjs$OperatorFunctionLast + ): B; + + pipe( + op1: rxjs$OperatorFunction, + op2: rxjs$OperatorFunction, + op3: rxjs$OperatorFunctionLast + ): C; + + pipe( + op1: rxjs$OperatorFunction, + op2: rxjs$OperatorFunction, + op3: rxjs$OperatorFunction, + op4: rxjs$OperatorFunctionLast + ): D; + + pipe( + op1: rxjs$OperatorFunction, + op2: rxjs$OperatorFunction, + op3: rxjs$OperatorFunction, + op4: rxjs$OperatorFunction, + op5: rxjs$OperatorFunctionLast + ): E; + + publish(): rxjs$ConnectableObservable; + + publishLast(): rxjs$ConnectableObservable; + + reduce( + accumulator: ( + acc: U, + currentValue: T, + index: number, + source: rxjs$Observable + ) => U, + seed: U + ): rxjs$Observable; + + sample(notifier: rxjs$Observable): rxjs$Observable; + + sampleTime( + delay: number, + scheduler?: rxjs$SchedulerClass + ): rxjs$Observable; + + publishReplay( + bufferSize?: number, + windowTime?: number, + scheduler?: rxjs$SchedulerClass + ): rxjs$ConnectableObservable; + + retry(retryCount: ?number): rxjs$Observable; + + retryWhen( + notifier: (errors: rxjs$Observable) => rxjs$Observable + ): rxjs$Observable; + + scan(f: (acc: U, value: T) => U, initialValue: U): rxjs$Observable; + + share(): rxjs$Observable; + + skip(count: number): rxjs$Observable; + + skipUntil(other: rxjs$Observable | Promise): rxjs$Observable; + + skipWhile( + predicate: (value: T, index: number) => boolean + ): rxjs$Observable; + + startWith(...values: Array): rxjs$Observable; + + subscribeOn(scheduler: rxjs$SchedulerClass): rxjs$Observable; + + take(count: number): rxjs$Observable; + + takeUntil(other: rxjs$Observable): rxjs$Observable; + + takeWhile( + predicate: (value: T, index: number) => boolean + ): rxjs$Observable; + + do( + onNext?: (value: T) => mixed, + onError?: (error: any) => mixed, + onCompleted?: () => mixed + ): rxjs$Observable; + do(observer: { + next?: (value: T) => mixed, + error?: (error: any) => mixed, + complete?: () => mixed, + ... + }): rxjs$Observable; + + throttleTime(duration: number): rxjs$Observable; + + timeout(due: number | Date, _: void): rxjs$Observable; + + timeoutWith( + due: number | Date, + withObservable: rxjs$Observable, + scheduler?: rxjs$SchedulerClass + ): rxjs$Observable; + + toArray(): rxjs$Observable; + + toPromise(): Promise; + + subscribe(observer: rxjs$PartialObserver): rxjs$Subscription; + subscribe( + onNext: ?(value: T) => mixed, + onError: ?(error: any) => mixed, + onCompleted: ?() => mixed + ): rxjs$Subscription; + + combineAll(): rxjs$Observable; + combineAll(project: (...values: any[]) => U): rxjs$Observable; + + static combineLatest( + a: rxjs$Observable, + resultSelector: (a: A) => B + ): rxjs$Observable; + + static combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + resultSelector: (a: A, b: B) => C + ): rxjs$Observable; + + static combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + resultSelector: (a: A, b: B, c: C) => D + ): rxjs$Observable; + + static combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + resultSelector: (a: A, b: B, c: C, d: D) => E + ): rxjs$Observable; + + static combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + resultSelector: (a: A, b: B, c: C, d: D, e: E) => F + ): rxjs$Observable; + + static combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + resultSelector: (a: A, b: B, c: C, d: D, e: E, f: F) => G + ): rxjs$Observable; + + static combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + g: rxjs$Observable, + resultSelector: (a: A, b: B, c: C, d: D, e: E, f: F, g: G) => H + ): rxjs$Observable; + + static combineLatest(a: rxjs$Observable, _: void): rxjs$Observable<[A]>; + + static combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B]>; + + static combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C]>; + + static combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C, D]>; + + static combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C, D, E]>; + + static combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C, D, E, F]>; + + static combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + g: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C, D, E, F, G]>; + + static combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + g: rxjs$Observable, + h: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C, D, E, F, G, H]>; + + combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + g: rxjs$Observable, + resultSelector: (t: T, a: A, b: B, c: C, d: D, e: E, f: F, g: G) => H + ): rxjs$Observable; + + combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + resultSelector: (t: T, a: A, b: B, c: C, d: D, e: E, f: F) => G + ): rxjs$Observable; + + combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + resultSelector: (t: T, a: A, b: B, c: C, d: D, e: E) => F + ): rxjs$Observable; + + combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + resultSelector: (t: T, a: A, b: B, c: C, d: D) => E + ): rxjs$Observable; + + combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + resultSelector: (t: T, a: A, b: B, c: C) => D + ): rxjs$Observable; + + combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + resultSelector: (t: T, a: A, b: B) => C + ): rxjs$Observable; + + combineLatest( + a: rxjs$Observable, + resultSelector: (t: T, a: A) => B + ): rxjs$Observable; + + combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + g: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B, C, D, E, E, F, G]>; + + combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B, C, D, E, F]>; + + combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B, C, D, E]>; + + combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B, C, D]>; + + combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B, C]>; + + combineLatest( + a: rxjs$Observable, + b: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B]>; + + combineLatest(a: rxjs$Observable, _: void): rxjs$Observable<[T, A]>; + + static zip( + a: rxjs$Observable, + resultSelector: (a: A) => B + ): rxjs$Observable; + + static zip( + a: rxjs$Observable, + b: rxjs$Observable, + resultSelector: (a: A, b: B) => C + ): rxjs$Observable; + + static zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + resultSelector: (a: A, b: B, c: C) => D + ): rxjs$Observable; + + static zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + resultSelector: (a: A, b: B, c: C, d: D) => E + ): rxjs$Observable; + + static zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + resultSelector: (a: A, b: B, c: C, d: D, e: E) => F + ): rxjs$Observable; + + static zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + resultSelector: (a: A, b: B, c: C, d: D, e: E, f: F) => G + ): rxjs$Observable; + + static zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + g: rxjs$Observable, + resultSelector: (a: A, b: B, c: C, d: D, e: E, f: F, g: G) => H + ): rxjs$Observable; + + static zip(a: rxjs$Observable, _: void): rxjs$Observable<[A]>; + + static zip( + a: rxjs$Observable, + b: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B]>; + + static zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C]>; + + static zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C, D]>; + + static zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C, D, E]>; + + static zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C, D, E, F]>; + + static zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + g: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C, D, E, F, G]>; + + static zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + g: rxjs$Observable, + h: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C, D, E, F, G, H]>; + + zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + g: rxjs$Observable, + resultSelector: (t: T, a: A, b: B, c: C, d: D, e: E, f: F, g: G) => H + ): rxjs$Observable; + + zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + resultSelector: (t: T, a: A, b: B, c: C, d: D, e: E, f: F) => G + ): rxjs$Observable; + + zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + resultSelector: (t: T, a: A, b: B, c: C, d: D, e: E) => F + ): rxjs$Observable; + + zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + resultSelector: (t: T, a: A, b: B, c: C, d: D) => E + ): rxjs$Observable; + + zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + resultSelector: (t: T, a: A, b: B, c: C) => D + ): rxjs$Observable; + + zip( + a: rxjs$Observable, + b: rxjs$Observable, + resultSelector: (t: T, a: A, b: B) => C + ): rxjs$Observable; + + zip( + a: rxjs$Observable, + resultSelector: (t: T, a: A) => B + ): rxjs$Observable; + + zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + g: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B, C, D, E, E, F, G]>; + + zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B, C, D, E, F]>; + + zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B, C, D, E]>; + + zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B, C, D]>; + + zip( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B, C]>; + + zip( + a: rxjs$Observable, + b: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B]>; + + zip(a: rxjs$Observable, _: void): rxjs$Observable<[T, A]>; + + static forkJoin( + a: rxjs$Observable, + resultSelector: (a: A) => B + ): rxjs$Observable; + + static forkJoin( + a: rxjs$Observable, + b: rxjs$Observable, + resultSelector: (a: A, b: B) => C + ): rxjs$Observable; + + static forkJoin( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + resultSelector: (a: A, b: B, c: C) => D + ): rxjs$Observable; + + static forkJoin( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + resultSelector: (a: A, b: B, c: C, d: D) => E + ): rxjs$Observable; + + static forkJoin( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + resultSelector: (a: A, b: B, c: C, d: D, e: E) => F + ): rxjs$Observable; + + static forkJoin( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + resultSelector: (a: A, b: B, c: C, d: D, e: E, f: F) => G + ): rxjs$Observable; + + static forkJoin( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + g: rxjs$Observable, + resultSelector: (a: A, b: B, c: C, d: D, e: E, f: F, g: G) => H + ): rxjs$Observable; + + static forkJoin( + a: rxjs$Observable, + b: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B]>; + + static forkJoin( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C]>; + + static forkJoin( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C, D]>; + + static forkJoin( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C, D, E]>; + + static forkJoin( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C, D, E, F]>; + + static forkJoin( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + g: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C, D, E, F, G]>; + + static forkJoin( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + g: rxjs$Observable, + h: rxjs$Observable, + _: void + ): rxjs$Observable<[A, B, C, D, E, F, G, H]>; + + static forkJoin( + a: Array>, + _: void + ): rxjs$Observable>; + + static forkJoin( + a: Array>, + _: void + ): rxjs$Observable; + + static forkJoin( + a: Array>, + resultSelector: (...values: Array) => B + ): rxjs$Observable; + + static forkJoin( + a: Array>, + resultSelector: (...values: Array) => A + ): rxjs$Observable; + + window( + windowBoundaries: rxjs$Observable + ): rxjs$Observable>; + windowCount( + windowSize: number, + startWindowEvery?: number + ): rxjs$Observable>; + windowToggle( + openings: rxjs$Observable, + closingSelector: (value: A) => rxjs$Observable + ): rxjs$Observable>; + windowWhen( + closingSelector: () => rxjs$Observable + ): rxjs$Observable>; + + withLatestFrom( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + g: rxjs$Observable, + resultSelector: (t: T, a: A, b: B, c: C, d: D, e: E, f: F, g: G) => H + ): rxjs$Observable; + + withLatestFrom( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + resultSelector: (t: T, a: A, b: B, c: C, d: D, e: E, f: F) => G + ): rxjs$Observable; + + withLatestFrom( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + resultSelector: (t: T, a: A, b: B, c: C, d: D, e: E) => F + ): rxjs$Observable; + + withLatestFrom( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + resultSelector: (t: T, a: A, b: B, c: C, d: D) => E + ): rxjs$Observable; + + withLatestFrom( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + resultSelector: (t: T, a: A, b: B, c: C) => D + ): rxjs$Observable; + + withLatestFrom( + a: rxjs$Observable, + b: rxjs$Observable, + resultSelector: (t: T, a: A, b: B) => C + ): rxjs$Observable; + + withLatestFrom( + a: rxjs$Observable, + resultSelector: (t: T, a: A) => B + ): rxjs$Observable; + + withLatestFrom( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + g: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B, C, D, E, E, F, G]>; + + withLatestFrom( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + f: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B, C, D, E, F]>; + + withLatestFrom( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + e: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B, C, D, E]>; + + withLatestFrom( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + d: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B, C, D]>; + + withLatestFrom( + a: rxjs$Observable, + b: rxjs$Observable, + c: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B, C]>; + + withLatestFrom( + a: rxjs$Observable, + b: rxjs$Observable, + _: void + ): rxjs$Observable<[T, A, B]>; + + withLatestFrom(a: rxjs$Observable, _: void): rxjs$Observable<[T, A]>; + + static using( + resourceFactory: () => ?R, + observableFactory: (resource: R) => rxjs$Observable | Promise | void + ): rxjs$Observable; + + _subscribe(observer: rxjs$Subscriber): rxjs$Subscription; + + _isScalar: boolean; + source: ?rxjs$Observable; + operator: ?rxjs$Operator; +} + +declare class rxjs$ConnectableObservable extends rxjs$Observable { + connect(): rxjs$Subscription; + refCount(): rxjs$Observable; +} + +declare class rxjs$GroupedObservable extends rxjs$Observable { + key: K; +} + +declare class rxjs$Observer<-T> { + next(value: T): mixed; + error(error: any): mixed; + complete(): mixed; +} + +declare interface rxjs$Operator { + call(subscriber: rxjs$Subscriber, source: any): rxjs$TeardownLogic; +} + +declare class rxjs$Subject mixins rxjs$Observable, rxjs$Observer { + static create( + destination: rxjs$Observer, + source: rxjs$Observable + ): rxjs$AnonymousSubject; + + asObservable(): rxjs$Observable; + observers: Array>; + unsubscribe(): void; + + // For use in subclasses only: + _next(value: T): void; +} + +declare class rxjs$AnonymousSubject extends rxjs$Subject { + source: ?rxjs$Observable; + destination: ?rxjs$Observer; + + constructor( + destination?: rxjs$Observer, + source?: rxjs$Observable + ): void; +} + +declare class rxjs$BehaviorSubject extends rxjs$Subject { + constructor(initialValue: T): void; + + getValue(): T; +} + +declare class rxjs$ReplaySubject extends rxjs$Subject { + constructor( + bufferSize?: number, + windowTime?: number, + scheduler?: rxjs$SchedulerClass + ): void; +} + +declare class rxjs$Subscription { + unsubscribe(): void; + add(teardown: rxjs$TeardownLogic): rxjs$Subscription; +} + +declare class rxjs$Subscriber extends rxjs$Subscription { + static create( + next?: (x?: T) => void, + error?: (e?: any) => void, + complete?: () => void + ): rxjs$Subscriber; + + constructor( + destinationOrNext?: rxjs$PartialObserver | ((value: T) => void), + error?: (e?: any) => void, + complete?: () => void + ): void; + next(value?: T): void; + error(err?: any): void; + complete(): void; + unsubscribe(): void; +} + +declare class rxjs$SchedulerClass { + schedule( + work: (state?: T) => void, + delay?: number, + state?: T + ): rxjs$Subscription; +} + +declare class rxjs$ArgumentOutOfRangeError extends Error {} +declare class rxjs$EmptyError extends Error {} +declare class rxjs$ObjectUnsubscribedError extends Error {} +declare class rxjs$TimeoutError extends Error {} +declare class rxjs$UnsubscriptionError extends Error {} + +declare module "rxjs" { + declare module.exports: { + Observable: typeof rxjs$Observable, + Observer: typeof rxjs$Observer, + ConnectableObservable: typeof rxjs$ConnectableObservable, + Subject: typeof rxjs$Subject, + Subscriber: typeof rxjs$Subscriber, + AnonymousSubject: typeof rxjs$AnonymousSubject, + BehaviorSubject: typeof rxjs$BehaviorSubject, + ReplaySubject: typeof rxjs$ReplaySubject, + Scheduler: { + asap: rxjs$SchedulerClass, + queue: rxjs$SchedulerClass, + animationFrame: rxjs$SchedulerClass, + async: rxjs$SchedulerClass, + ... + }, + Subscription: typeof rxjs$Subscription, + ArgumentOutOfRangeError: typeof rxjs$ArgumentOutOfRangeError, + EmptyError: typeof rxjs$EmptyError, + ObjectUnsubscribedError: typeof rxjs$ObjectUnsubscribedError, + TimeoutError: typeof rxjs$TimeoutError, + UnsubscriptionError: typeof rxjs$UnsubscriptionError, + ... + }; +} + +declare module "rxjs/Observable" { + declare module.exports: { Observable: typeof rxjs$Observable, ... }; +} + +declare module "rxjs/Observer" { + declare module.exports: { Observer: typeof rxjs$Observer, ... }; +} + +declare module "rxjs/BehaviorSubject" { + declare module.exports: { BehaviorSubject: typeof rxjs$BehaviorSubject, ... }; +} + +declare module "rxjs/ReplaySubject" { + declare module.exports: { ReplaySubject: typeof rxjs$ReplaySubject, ... }; +} + +declare module "rxjs/Subject" { + declare module.exports: { + Subject: typeof rxjs$Subject, + AnonymousSubject: typeof rxjs$AnonymousSubject, + ... + }; +} + +declare module "rxjs/Subscriber" { + declare module.exports: { Subscriber: typeof rxjs$Subscriber, ... }; +} + +declare module "rxjs/Subscription" { + declare module.exports: { Subscription: typeof rxjs$Subscription, ... }; +} + +declare module "rxjs/testing/TestScheduler" { + declare module.exports: { TestScheduler: typeof rxjs$SchedulerClass, ... }; +} + +declare module "rxjs/util/ArgumentOutOfRangeError" { + declare module.exports: { ArgumentOutOfRangeError: typeof rxjs$ArgumentOutOfRangeError, ... }; +} + +declare module "rxjs/util/EmptyError" { + declare module.exports: { EmptyError: typeof rxjs$EmptyError, ... }; +} + +declare module "rxjs/util/ObjectUnsubscribedError" { + declare module.exports: { ObjectUnsubscribedError: typeof rxjs$ObjectUnsubscribedError, ... }; +} + +declare module "rxjs/util/TimeoutError" { + declare module.exports: { TimeoutError: typeof rxjs$TimeoutError, ... }; +} + +declare module "rxjs/util/UnsubscriptionError" { + declare module.exports: { UnsubscriptionError: typeof rxjs$UnsubscriptionError, ... }; +} diff --git a/flow-typed/npm/rxjs_vx.x.x.js b/flow-typed/npm/rxjs_vx.x.x.js deleted file mode 100644 index 33f052f..0000000 --- a/flow-typed/npm/rxjs_vx.x.x.js +++ /dev/null @@ -1,2475 +0,0 @@ -// flow-typed signature: ac646aa0ee0ade87056188917482d5f2 -// flow-typed version: <>/rxjs_v^5.0.0-beta.8/flow_v0.103.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'rxjs' - * - * Fill this stub out by replacing all the `any` types. - * - * Once filled out, we encourage you to share your work with the - * community by sending a pull request to: - * https://github.com/flowtype/flow-typed - */ - -declare module 'rxjs' { - declare module.exports: any; -} - -/** - * We include stubs for each file inside this npm package in case you need to - * require those files directly. Feel free to delete any files that aren't - * needed. - */ -declare module 'rxjs/add/observable/bindCallback' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/bindNodeCallback' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/combineLatest' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/concat' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/defer' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/dom/ajax' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/dom/webSocket' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/empty' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/forkJoin' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/from' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/fromEvent' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/fromEventPattern' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/fromPromise' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/generate' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/if' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/interval' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/merge' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/never' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/of' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/onErrorResumeNext' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/pairs' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/race' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/range' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/throw' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/timer' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/using' { - declare module.exports: any; -} - -declare module 'rxjs/add/observable/zip' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/audit' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/auditTime' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/buffer' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/bufferCount' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/bufferTime' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/bufferToggle' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/bufferWhen' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/catch' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/combineAll' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/combineLatest' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/concat' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/concatAll' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/concatMap' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/concatMapTo' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/count' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/debounce' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/debounceTime' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/defaultIfEmpty' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/delay' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/delayWhen' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/dematerialize' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/distinct' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/distinctUntilChanged' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/distinctUntilKeyChanged' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/do' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/elementAt' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/every' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/exhaust' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/exhaustMap' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/expand' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/filter' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/finally' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/find' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/findIndex' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/first' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/groupBy' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/ignoreElements' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/isEmpty' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/last' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/let' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/map' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/mapTo' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/materialize' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/max' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/merge' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/mergeAll' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/mergeMap' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/mergeMapTo' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/mergeScan' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/min' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/multicast' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/observeOn' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/onErrorResumeNext' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/pairwise' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/partition' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/pluck' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/publish' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/publishBehavior' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/publishLast' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/publishReplay' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/race' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/reduce' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/repeat' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/repeatWhen' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/retry' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/retryWhen' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/sample' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/sampleTime' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/scan' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/sequenceEqual' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/share' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/shareReplay' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/single' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/skip' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/skipLast' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/skipUntil' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/skipWhile' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/startWith' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/subscribeOn' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/switch' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/switchMap' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/switchMapTo' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/take' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/takeLast' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/takeUntil' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/takeWhile' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/throttle' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/throttleTime' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/timeInterval' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/timeout' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/timeoutWith' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/timestamp' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/toArray' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/toPromise' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/window' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/windowCount' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/windowTime' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/windowToggle' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/windowWhen' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/withLatestFrom' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/zip' { - declare module.exports: any; -} - -declare module 'rxjs/add/operator/zipAll' { - declare module.exports: any; -} - -declare module 'rxjs/AsyncSubject' { - declare module.exports: any; -} - -declare module 'rxjs/BehaviorSubject' { - declare module.exports: any; -} - -declare module 'rxjs/bundles/Rx' { - declare module.exports: any; -} - -declare module 'rxjs/bundles/Rx.min' { - declare module.exports: any; -} - -declare module 'rxjs/InnerSubscriber' { - declare module.exports: any; -} - -declare module 'rxjs/Notification' { - declare module.exports: any; -} - -declare module 'rxjs/Observable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/ArrayLikeObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/ArrayObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/bindCallback' { - declare module.exports: any; -} - -declare module 'rxjs/observable/bindNodeCallback' { - declare module.exports: any; -} - -declare module 'rxjs/observable/BoundCallbackObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/BoundNodeCallbackObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/combineLatest' { - declare module.exports: any; -} - -declare module 'rxjs/observable/concat' { - declare module.exports: any; -} - -declare module 'rxjs/observable/ConnectableObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/defer' { - declare module.exports: any; -} - -declare module 'rxjs/observable/DeferObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/dom/ajax' { - declare module.exports: any; -} - -declare module 'rxjs/observable/dom/AjaxObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/dom/webSocket' { - declare module.exports: any; -} - -declare module 'rxjs/observable/dom/WebSocketSubject' { - declare module.exports: any; -} - -declare module 'rxjs/observable/empty' { - declare module.exports: any; -} - -declare module 'rxjs/observable/EmptyObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/ErrorObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/forkJoin' { - declare module.exports: any; -} - -declare module 'rxjs/observable/ForkJoinObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/from' { - declare module.exports: any; -} - -declare module 'rxjs/observable/fromEvent' { - declare module.exports: any; -} - -declare module 'rxjs/observable/FromEventObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/fromEventPattern' { - declare module.exports: any; -} - -declare module 'rxjs/observable/FromEventPatternObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/FromObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/fromPromise' { - declare module.exports: any; -} - -declare module 'rxjs/observable/GenerateObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/if' { - declare module.exports: any; -} - -declare module 'rxjs/observable/IfObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/interval' { - declare module.exports: any; -} - -declare module 'rxjs/observable/IntervalObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/IteratorObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/merge' { - declare module.exports: any; -} - -declare module 'rxjs/observable/never' { - declare module.exports: any; -} - -declare module 'rxjs/observable/NeverObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/of' { - declare module.exports: any; -} - -declare module 'rxjs/observable/pairs' { - declare module.exports: any; -} - -declare module 'rxjs/observable/PairsObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/PromiseObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/range' { - declare module.exports: any; -} - -declare module 'rxjs/observable/RangeObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/ScalarObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/SubscribeOnObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/throw' { - declare module.exports: any; -} - -declare module 'rxjs/observable/timer' { - declare module.exports: any; -} - -declare module 'rxjs/observable/TimerObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/using' { - declare module.exports: any; -} - -declare module 'rxjs/observable/UsingObservable' { - declare module.exports: any; -} - -declare module 'rxjs/observable/zip' { - declare module.exports: any; -} - -declare module 'rxjs/Observer' { - declare module.exports: any; -} - -declare module 'rxjs/Operator' { - declare module.exports: any; -} - -declare module 'rxjs/operator/audit' { - declare module.exports: any; -} - -declare module 'rxjs/operator/auditTime' { - declare module.exports: any; -} - -declare module 'rxjs/operator/buffer' { - declare module.exports: any; -} - -declare module 'rxjs/operator/bufferCount' { - declare module.exports: any; -} - -declare module 'rxjs/operator/bufferTime' { - declare module.exports: any; -} - -declare module 'rxjs/operator/bufferToggle' { - declare module.exports: any; -} - -declare module 'rxjs/operator/bufferWhen' { - declare module.exports: any; -} - -declare module 'rxjs/operator/catch' { - declare module.exports: any; -} - -declare module 'rxjs/operator/combineAll' { - declare module.exports: any; -} - -declare module 'rxjs/operator/combineLatest' { - declare module.exports: any; -} - -declare module 'rxjs/operator/concat' { - declare module.exports: any; -} - -declare module 'rxjs/operator/concatAll' { - declare module.exports: any; -} - -declare module 'rxjs/operator/concatMap' { - declare module.exports: any; -} - -declare module 'rxjs/operator/concatMapTo' { - declare module.exports: any; -} - -declare module 'rxjs/operator/count' { - declare module.exports: any; -} - -declare module 'rxjs/operator/debounce' { - declare module.exports: any; -} - -declare module 'rxjs/operator/debounceTime' { - declare module.exports: any; -} - -declare module 'rxjs/operator/defaultIfEmpty' { - declare module.exports: any; -} - -declare module 'rxjs/operator/delay' { - declare module.exports: any; -} - -declare module 'rxjs/operator/delayWhen' { - declare module.exports: any; -} - -declare module 'rxjs/operator/dematerialize' { - declare module.exports: any; -} - -declare module 'rxjs/operator/distinct' { - declare module.exports: any; -} - -declare module 'rxjs/operator/distinctUntilChanged' { - declare module.exports: any; -} - -declare module 'rxjs/operator/distinctUntilKeyChanged' { - declare module.exports: any; -} - -declare module 'rxjs/operator/do' { - declare module.exports: any; -} - -declare module 'rxjs/operator/elementAt' { - declare module.exports: any; -} - -declare module 'rxjs/operator/every' { - declare module.exports: any; -} - -declare module 'rxjs/operator/exhaust' { - declare module.exports: any; -} - -declare module 'rxjs/operator/exhaustMap' { - declare module.exports: any; -} - -declare module 'rxjs/operator/expand' { - declare module.exports: any; -} - -declare module 'rxjs/operator/filter' { - declare module.exports: any; -} - -declare module 'rxjs/operator/finally' { - declare module.exports: any; -} - -declare module 'rxjs/operator/find' { - declare module.exports: any; -} - -declare module 'rxjs/operator/findIndex' { - declare module.exports: any; -} - -declare module 'rxjs/operator/first' { - declare module.exports: any; -} - -declare module 'rxjs/operator/groupBy' { - declare module.exports: any; -} - -declare module 'rxjs/operator/ignoreElements' { - declare module.exports: any; -} - -declare module 'rxjs/operator/isEmpty' { - declare module.exports: any; -} - -declare module 'rxjs/operator/last' { - declare module.exports: any; -} - -declare module 'rxjs/operator/let' { - declare module.exports: any; -} - -declare module 'rxjs/operator/map' { - declare module.exports: any; -} - -declare module 'rxjs/operator/mapTo' { - declare module.exports: any; -} - -declare module 'rxjs/operator/materialize' { - declare module.exports: any; -} - -declare module 'rxjs/operator/max' { - declare module.exports: any; -} - -declare module 'rxjs/operator/merge' { - declare module.exports: any; -} - -declare module 'rxjs/operator/mergeAll' { - declare module.exports: any; -} - -declare module 'rxjs/operator/mergeMap' { - declare module.exports: any; -} - -declare module 'rxjs/operator/mergeMapTo' { - declare module.exports: any; -} - -declare module 'rxjs/operator/mergeScan' { - declare module.exports: any; -} - -declare module 'rxjs/operator/min' { - declare module.exports: any; -} - -declare module 'rxjs/operator/multicast' { - declare module.exports: any; -} - -declare module 'rxjs/operator/observeOn' { - declare module.exports: any; -} - -declare module 'rxjs/operator/onErrorResumeNext' { - declare module.exports: any; -} - -declare module 'rxjs/operator/pairwise' { - declare module.exports: any; -} - -declare module 'rxjs/operator/partition' { - declare module.exports: any; -} - -declare module 'rxjs/operator/pluck' { - declare module.exports: any; -} - -declare module 'rxjs/operator/publish' { - declare module.exports: any; -} - -declare module 'rxjs/operator/publishBehavior' { - declare module.exports: any; -} - -declare module 'rxjs/operator/publishLast' { - declare module.exports: any; -} - -declare module 'rxjs/operator/publishReplay' { - declare module.exports: any; -} - -declare module 'rxjs/operator/race' { - declare module.exports: any; -} - -declare module 'rxjs/operator/reduce' { - declare module.exports: any; -} - -declare module 'rxjs/operator/repeat' { - declare module.exports: any; -} - -declare module 'rxjs/operator/repeatWhen' { - declare module.exports: any; -} - -declare module 'rxjs/operator/retry' { - declare module.exports: any; -} - -declare module 'rxjs/operator/retryWhen' { - declare module.exports: any; -} - -declare module 'rxjs/operator/sample' { - declare module.exports: any; -} - -declare module 'rxjs/operator/sampleTime' { - declare module.exports: any; -} - -declare module 'rxjs/operator/scan' { - declare module.exports: any; -} - -declare module 'rxjs/operator/sequenceEqual' { - declare module.exports: any; -} - -declare module 'rxjs/operator/share' { - declare module.exports: any; -} - -declare module 'rxjs/operator/shareReplay' { - declare module.exports: any; -} - -declare module 'rxjs/operator/single' { - declare module.exports: any; -} - -declare module 'rxjs/operator/skip' { - declare module.exports: any; -} - -declare module 'rxjs/operator/skipLast' { - declare module.exports: any; -} - -declare module 'rxjs/operator/skipUntil' { - declare module.exports: any; -} - -declare module 'rxjs/operator/skipWhile' { - declare module.exports: any; -} - -declare module 'rxjs/operator/startWith' { - declare module.exports: any; -} - -declare module 'rxjs/operator/subscribeOn' { - declare module.exports: any; -} - -declare module 'rxjs/operator/switch' { - declare module.exports: any; -} - -declare module 'rxjs/operator/switchMap' { - declare module.exports: any; -} - -declare module 'rxjs/operator/switchMapTo' { - declare module.exports: any; -} - -declare module 'rxjs/operator/take' { - declare module.exports: any; -} - -declare module 'rxjs/operator/takeLast' { - declare module.exports: any; -} - -declare module 'rxjs/operator/takeUntil' { - declare module.exports: any; -} - -declare module 'rxjs/operator/takeWhile' { - declare module.exports: any; -} - -declare module 'rxjs/operator/throttle' { - declare module.exports: any; -} - -declare module 'rxjs/operator/throttleTime' { - declare module.exports: any; -} - -declare module 'rxjs/operator/timeInterval' { - declare module.exports: any; -} - -declare module 'rxjs/operator/timeout' { - declare module.exports: any; -} - -declare module 'rxjs/operator/timeoutWith' { - declare module.exports: any; -} - -declare module 'rxjs/operator/timestamp' { - declare module.exports: any; -} - -declare module 'rxjs/operator/toArray' { - declare module.exports: any; -} - -declare module 'rxjs/operator/toPromise' { - declare module.exports: any; -} - -declare module 'rxjs/operator/window' { - declare module.exports: any; -} - -declare module 'rxjs/operator/windowCount' { - declare module.exports: any; -} - -declare module 'rxjs/operator/windowTime' { - declare module.exports: any; -} - -declare module 'rxjs/operator/windowToggle' { - declare module.exports: any; -} - -declare module 'rxjs/operator/windowWhen' { - declare module.exports: any; -} - -declare module 'rxjs/operator/withLatestFrom' { - declare module.exports: any; -} - -declare module 'rxjs/operator/zip' { - declare module.exports: any; -} - -declare module 'rxjs/operator/zipAll' { - declare module.exports: any; -} - -declare module 'rxjs/OuterSubscriber' { - declare module.exports: any; -} - -declare module 'rxjs/ReplaySubject' { - declare module.exports: any; -} - -declare module 'rxjs/Rx' { - declare module.exports: any; -} - -declare module 'rxjs/Scheduler' { - declare module.exports: any; -} - -declare module 'rxjs/scheduler/Action' { - declare module.exports: any; -} - -declare module 'rxjs/scheduler/animationFrame' { - declare module.exports: any; -} - -declare module 'rxjs/scheduler/AnimationFrameAction' { - declare module.exports: any; -} - -declare module 'rxjs/scheduler/AnimationFrameScheduler' { - declare module.exports: any; -} - -declare module 'rxjs/scheduler/asap' { - declare module.exports: any; -} - -declare module 'rxjs/scheduler/AsapAction' { - declare module.exports: any; -} - -declare module 'rxjs/scheduler/AsapScheduler' { - declare module.exports: any; -} - -declare module 'rxjs/scheduler/async' { - declare module.exports: any; -} - -declare module 'rxjs/scheduler/AsyncAction' { - declare module.exports: any; -} - -declare module 'rxjs/scheduler/AsyncScheduler' { - declare module.exports: any; -} - -declare module 'rxjs/scheduler/queue' { - declare module.exports: any; -} - -declare module 'rxjs/scheduler/QueueAction' { - declare module.exports: any; -} - -declare module 'rxjs/scheduler/QueueScheduler' { - declare module.exports: any; -} - -declare module 'rxjs/scheduler/VirtualTimeScheduler' { - declare module.exports: any; -} - -declare module 'rxjs/src/Rx.global' { - declare module.exports: any; -} - -declare module 'rxjs/Subject' { - declare module.exports: any; -} - -declare module 'rxjs/SubjectSubscription' { - declare module.exports: any; -} - -declare module 'rxjs/Subscriber' { - declare module.exports: any; -} - -declare module 'rxjs/Subscription' { - declare module.exports: any; -} - -declare module 'rxjs/symbol/iterator' { - declare module.exports: any; -} - -declare module 'rxjs/symbol/observable' { - declare module.exports: any; -} - -declare module 'rxjs/symbol/rxSubscriber' { - declare module.exports: any; -} - -declare module 'rxjs/testing/ColdObservable' { - declare module.exports: any; -} - -declare module 'rxjs/testing/HotObservable' { - declare module.exports: any; -} - -declare module 'rxjs/testing/SubscriptionLog' { - declare module.exports: any; -} - -declare module 'rxjs/testing/SubscriptionLoggable' { - declare module.exports: any; -} - -declare module 'rxjs/testing/TestMessage' { - declare module.exports: any; -} - -declare module 'rxjs/testing/TestScheduler' { - declare module.exports: any; -} - -declare module 'rxjs/util/AnimationFrame' { - declare module.exports: any; -} - -declare module 'rxjs/util/applyMixins' { - declare module.exports: any; -} - -declare module 'rxjs/util/ArgumentOutOfRangeError' { - declare module.exports: any; -} - -declare module 'rxjs/util/assign' { - declare module.exports: any; -} - -declare module 'rxjs/util/EmptyError' { - declare module.exports: any; -} - -declare module 'rxjs/util/errorObject' { - declare module.exports: any; -} - -declare module 'rxjs/util/FastMap' { - declare module.exports: any; -} - -declare module 'rxjs/util/Immediate' { - declare module.exports: any; -} - -declare module 'rxjs/util/isArray' { - declare module.exports: any; -} - -declare module 'rxjs/util/isArrayLike' { - declare module.exports: any; -} - -declare module 'rxjs/util/isDate' { - declare module.exports: any; -} - -declare module 'rxjs/util/isFunction' { - declare module.exports: any; -} - -declare module 'rxjs/util/isNumeric' { - declare module.exports: any; -} - -declare module 'rxjs/util/isObject' { - declare module.exports: any; -} - -declare module 'rxjs/util/isPromise' { - declare module.exports: any; -} - -declare module 'rxjs/util/isScheduler' { - declare module.exports: any; -} - -declare module 'rxjs/util/Map' { - declare module.exports: any; -} - -declare module 'rxjs/util/MapPolyfill' { - declare module.exports: any; -} - -declare module 'rxjs/util/noop' { - declare module.exports: any; -} - -declare module 'rxjs/util/not' { - declare module.exports: any; -} - -declare module 'rxjs/util/ObjectUnsubscribedError' { - declare module.exports: any; -} - -declare module 'rxjs/util/root' { - declare module.exports: any; -} - -declare module 'rxjs/util/Set' { - declare module.exports: any; -} - -declare module 'rxjs/util/subscribeToResult' { - declare module.exports: any; -} - -declare module 'rxjs/util/TimeoutError' { - declare module.exports: any; -} - -declare module 'rxjs/util/toSubscriber' { - declare module.exports: any; -} - -declare module 'rxjs/util/tryCatch' { - declare module.exports: any; -} - -declare module 'rxjs/util/UnsubscriptionError' { - declare module.exports: any; -} - -// Filename aliases -declare module 'rxjs/add/observable/bindCallback.js' { - declare module.exports: $Exports<'rxjs/add/observable/bindCallback'>; -} -declare module 'rxjs/add/observable/bindNodeCallback.js' { - declare module.exports: $Exports<'rxjs/add/observable/bindNodeCallback'>; -} -declare module 'rxjs/add/observable/combineLatest.js' { - declare module.exports: $Exports<'rxjs/add/observable/combineLatest'>; -} -declare module 'rxjs/add/observable/concat.js' { - declare module.exports: $Exports<'rxjs/add/observable/concat'>; -} -declare module 'rxjs/add/observable/defer.js' { - declare module.exports: $Exports<'rxjs/add/observable/defer'>; -} -declare module 'rxjs/add/observable/dom/ajax.js' { - declare module.exports: $Exports<'rxjs/add/observable/dom/ajax'>; -} -declare module 'rxjs/add/observable/dom/webSocket.js' { - declare module.exports: $Exports<'rxjs/add/observable/dom/webSocket'>; -} -declare module 'rxjs/add/observable/empty.js' { - declare module.exports: $Exports<'rxjs/add/observable/empty'>; -} -declare module 'rxjs/add/observable/forkJoin.js' { - declare module.exports: $Exports<'rxjs/add/observable/forkJoin'>; -} -declare module 'rxjs/add/observable/from.js' { - declare module.exports: $Exports<'rxjs/add/observable/from'>; -} -declare module 'rxjs/add/observable/fromEvent.js' { - declare module.exports: $Exports<'rxjs/add/observable/fromEvent'>; -} -declare module 'rxjs/add/observable/fromEventPattern.js' { - declare module.exports: $Exports<'rxjs/add/observable/fromEventPattern'>; -} -declare module 'rxjs/add/observable/fromPromise.js' { - declare module.exports: $Exports<'rxjs/add/observable/fromPromise'>; -} -declare module 'rxjs/add/observable/generate.js' { - declare module.exports: $Exports<'rxjs/add/observable/generate'>; -} -declare module 'rxjs/add/observable/if.js' { - declare module.exports: $Exports<'rxjs/add/observable/if'>; -} -declare module 'rxjs/add/observable/interval.js' { - declare module.exports: $Exports<'rxjs/add/observable/interval'>; -} -declare module 'rxjs/add/observable/merge.js' { - declare module.exports: $Exports<'rxjs/add/observable/merge'>; -} -declare module 'rxjs/add/observable/never.js' { - declare module.exports: $Exports<'rxjs/add/observable/never'>; -} -declare module 'rxjs/add/observable/of.js' { - declare module.exports: $Exports<'rxjs/add/observable/of'>; -} -declare module 'rxjs/add/observable/onErrorResumeNext.js' { - declare module.exports: $Exports<'rxjs/add/observable/onErrorResumeNext'>; -} -declare module 'rxjs/add/observable/pairs.js' { - declare module.exports: $Exports<'rxjs/add/observable/pairs'>; -} -declare module 'rxjs/add/observable/race.js' { - declare module.exports: $Exports<'rxjs/add/observable/race'>; -} -declare module 'rxjs/add/observable/range.js' { - declare module.exports: $Exports<'rxjs/add/observable/range'>; -} -declare module 'rxjs/add/observable/throw.js' { - declare module.exports: $Exports<'rxjs/add/observable/throw'>; -} -declare module 'rxjs/add/observable/timer.js' { - declare module.exports: $Exports<'rxjs/add/observable/timer'>; -} -declare module 'rxjs/add/observable/using.js' { - declare module.exports: $Exports<'rxjs/add/observable/using'>; -} -declare module 'rxjs/add/observable/zip.js' { - declare module.exports: $Exports<'rxjs/add/observable/zip'>; -} -declare module 'rxjs/add/operator/audit.js' { - declare module.exports: $Exports<'rxjs/add/operator/audit'>; -} -declare module 'rxjs/add/operator/auditTime.js' { - declare module.exports: $Exports<'rxjs/add/operator/auditTime'>; -} -declare module 'rxjs/add/operator/buffer.js' { - declare module.exports: $Exports<'rxjs/add/operator/buffer'>; -} -declare module 'rxjs/add/operator/bufferCount.js' { - declare module.exports: $Exports<'rxjs/add/operator/bufferCount'>; -} -declare module 'rxjs/add/operator/bufferTime.js' { - declare module.exports: $Exports<'rxjs/add/operator/bufferTime'>; -} -declare module 'rxjs/add/operator/bufferToggle.js' { - declare module.exports: $Exports<'rxjs/add/operator/bufferToggle'>; -} -declare module 'rxjs/add/operator/bufferWhen.js' { - declare module.exports: $Exports<'rxjs/add/operator/bufferWhen'>; -} -declare module 'rxjs/add/operator/catch.js' { - declare module.exports: $Exports<'rxjs/add/operator/catch'>; -} -declare module 'rxjs/add/operator/combineAll.js' { - declare module.exports: $Exports<'rxjs/add/operator/combineAll'>; -} -declare module 'rxjs/add/operator/combineLatest.js' { - declare module.exports: $Exports<'rxjs/add/operator/combineLatest'>; -} -declare module 'rxjs/add/operator/concat.js' { - declare module.exports: $Exports<'rxjs/add/operator/concat'>; -} -declare module 'rxjs/add/operator/concatAll.js' { - declare module.exports: $Exports<'rxjs/add/operator/concatAll'>; -} -declare module 'rxjs/add/operator/concatMap.js' { - declare module.exports: $Exports<'rxjs/add/operator/concatMap'>; -} -declare module 'rxjs/add/operator/concatMapTo.js' { - declare module.exports: $Exports<'rxjs/add/operator/concatMapTo'>; -} -declare module 'rxjs/add/operator/count.js' { - declare module.exports: $Exports<'rxjs/add/operator/count'>; -} -declare module 'rxjs/add/operator/debounce.js' { - declare module.exports: $Exports<'rxjs/add/operator/debounce'>; -} -declare module 'rxjs/add/operator/debounceTime.js' { - declare module.exports: $Exports<'rxjs/add/operator/debounceTime'>; -} -declare module 'rxjs/add/operator/defaultIfEmpty.js' { - declare module.exports: $Exports<'rxjs/add/operator/defaultIfEmpty'>; -} -declare module 'rxjs/add/operator/delay.js' { - declare module.exports: $Exports<'rxjs/add/operator/delay'>; -} -declare module 'rxjs/add/operator/delayWhen.js' { - declare module.exports: $Exports<'rxjs/add/operator/delayWhen'>; -} -declare module 'rxjs/add/operator/dematerialize.js' { - declare module.exports: $Exports<'rxjs/add/operator/dematerialize'>; -} -declare module 'rxjs/add/operator/distinct.js' { - declare module.exports: $Exports<'rxjs/add/operator/distinct'>; -} -declare module 'rxjs/add/operator/distinctUntilChanged.js' { - declare module.exports: $Exports<'rxjs/add/operator/distinctUntilChanged'>; -} -declare module 'rxjs/add/operator/distinctUntilKeyChanged.js' { - declare module.exports: $Exports<'rxjs/add/operator/distinctUntilKeyChanged'>; -} -declare module 'rxjs/add/operator/do.js' { - declare module.exports: $Exports<'rxjs/add/operator/do'>; -} -declare module 'rxjs/add/operator/elementAt.js' { - declare module.exports: $Exports<'rxjs/add/operator/elementAt'>; -} -declare module 'rxjs/add/operator/every.js' { - declare module.exports: $Exports<'rxjs/add/operator/every'>; -} -declare module 'rxjs/add/operator/exhaust.js' { - declare module.exports: $Exports<'rxjs/add/operator/exhaust'>; -} -declare module 'rxjs/add/operator/exhaustMap.js' { - declare module.exports: $Exports<'rxjs/add/operator/exhaustMap'>; -} -declare module 'rxjs/add/operator/expand.js' { - declare module.exports: $Exports<'rxjs/add/operator/expand'>; -} -declare module 'rxjs/add/operator/filter.js' { - declare module.exports: $Exports<'rxjs/add/operator/filter'>; -} -declare module 'rxjs/add/operator/finally.js' { - declare module.exports: $Exports<'rxjs/add/operator/finally'>; -} -declare module 'rxjs/add/operator/find.js' { - declare module.exports: $Exports<'rxjs/add/operator/find'>; -} -declare module 'rxjs/add/operator/findIndex.js' { - declare module.exports: $Exports<'rxjs/add/operator/findIndex'>; -} -declare module 'rxjs/add/operator/first.js' { - declare module.exports: $Exports<'rxjs/add/operator/first'>; -} -declare module 'rxjs/add/operator/groupBy.js' { - declare module.exports: $Exports<'rxjs/add/operator/groupBy'>; -} -declare module 'rxjs/add/operator/ignoreElements.js' { - declare module.exports: $Exports<'rxjs/add/operator/ignoreElements'>; -} -declare module 'rxjs/add/operator/isEmpty.js' { - declare module.exports: $Exports<'rxjs/add/operator/isEmpty'>; -} -declare module 'rxjs/add/operator/last.js' { - declare module.exports: $Exports<'rxjs/add/operator/last'>; -} -declare module 'rxjs/add/operator/let.js' { - declare module.exports: $Exports<'rxjs/add/operator/let'>; -} -declare module 'rxjs/add/operator/map.js' { - declare module.exports: $Exports<'rxjs/add/operator/map'>; -} -declare module 'rxjs/add/operator/mapTo.js' { - declare module.exports: $Exports<'rxjs/add/operator/mapTo'>; -} -declare module 'rxjs/add/operator/materialize.js' { - declare module.exports: $Exports<'rxjs/add/operator/materialize'>; -} -declare module 'rxjs/add/operator/max.js' { - declare module.exports: $Exports<'rxjs/add/operator/max'>; -} -declare module 'rxjs/add/operator/merge.js' { - declare module.exports: $Exports<'rxjs/add/operator/merge'>; -} -declare module 'rxjs/add/operator/mergeAll.js' { - declare module.exports: $Exports<'rxjs/add/operator/mergeAll'>; -} -declare module 'rxjs/add/operator/mergeMap.js' { - declare module.exports: $Exports<'rxjs/add/operator/mergeMap'>; -} -declare module 'rxjs/add/operator/mergeMapTo.js' { - declare module.exports: $Exports<'rxjs/add/operator/mergeMapTo'>; -} -declare module 'rxjs/add/operator/mergeScan.js' { - declare module.exports: $Exports<'rxjs/add/operator/mergeScan'>; -} -declare module 'rxjs/add/operator/min.js' { - declare module.exports: $Exports<'rxjs/add/operator/min'>; -} -declare module 'rxjs/add/operator/multicast.js' { - declare module.exports: $Exports<'rxjs/add/operator/multicast'>; -} -declare module 'rxjs/add/operator/observeOn.js' { - declare module.exports: $Exports<'rxjs/add/operator/observeOn'>; -} -declare module 'rxjs/add/operator/onErrorResumeNext.js' { - declare module.exports: $Exports<'rxjs/add/operator/onErrorResumeNext'>; -} -declare module 'rxjs/add/operator/pairwise.js' { - declare module.exports: $Exports<'rxjs/add/operator/pairwise'>; -} -declare module 'rxjs/add/operator/partition.js' { - declare module.exports: $Exports<'rxjs/add/operator/partition'>; -} -declare module 'rxjs/add/operator/pluck.js' { - declare module.exports: $Exports<'rxjs/add/operator/pluck'>; -} -declare module 'rxjs/add/operator/publish.js' { - declare module.exports: $Exports<'rxjs/add/operator/publish'>; -} -declare module 'rxjs/add/operator/publishBehavior.js' { - declare module.exports: $Exports<'rxjs/add/operator/publishBehavior'>; -} -declare module 'rxjs/add/operator/publishLast.js' { - declare module.exports: $Exports<'rxjs/add/operator/publishLast'>; -} -declare module 'rxjs/add/operator/publishReplay.js' { - declare module.exports: $Exports<'rxjs/add/operator/publishReplay'>; -} -declare module 'rxjs/add/operator/race.js' { - declare module.exports: $Exports<'rxjs/add/operator/race'>; -} -declare module 'rxjs/add/operator/reduce.js' { - declare module.exports: $Exports<'rxjs/add/operator/reduce'>; -} -declare module 'rxjs/add/operator/repeat.js' { - declare module.exports: $Exports<'rxjs/add/operator/repeat'>; -} -declare module 'rxjs/add/operator/repeatWhen.js' { - declare module.exports: $Exports<'rxjs/add/operator/repeatWhen'>; -} -declare module 'rxjs/add/operator/retry.js' { - declare module.exports: $Exports<'rxjs/add/operator/retry'>; -} -declare module 'rxjs/add/operator/retryWhen.js' { - declare module.exports: $Exports<'rxjs/add/operator/retryWhen'>; -} -declare module 'rxjs/add/operator/sample.js' { - declare module.exports: $Exports<'rxjs/add/operator/sample'>; -} -declare module 'rxjs/add/operator/sampleTime.js' { - declare module.exports: $Exports<'rxjs/add/operator/sampleTime'>; -} -declare module 'rxjs/add/operator/scan.js' { - declare module.exports: $Exports<'rxjs/add/operator/scan'>; -} -declare module 'rxjs/add/operator/sequenceEqual.js' { - declare module.exports: $Exports<'rxjs/add/operator/sequenceEqual'>; -} -declare module 'rxjs/add/operator/share.js' { - declare module.exports: $Exports<'rxjs/add/operator/share'>; -} -declare module 'rxjs/add/operator/shareReplay.js' { - declare module.exports: $Exports<'rxjs/add/operator/shareReplay'>; -} -declare module 'rxjs/add/operator/single.js' { - declare module.exports: $Exports<'rxjs/add/operator/single'>; -} -declare module 'rxjs/add/operator/skip.js' { - declare module.exports: $Exports<'rxjs/add/operator/skip'>; -} -declare module 'rxjs/add/operator/skipLast.js' { - declare module.exports: $Exports<'rxjs/add/operator/skipLast'>; -} -declare module 'rxjs/add/operator/skipUntil.js' { - declare module.exports: $Exports<'rxjs/add/operator/skipUntil'>; -} -declare module 'rxjs/add/operator/skipWhile.js' { - declare module.exports: $Exports<'rxjs/add/operator/skipWhile'>; -} -declare module 'rxjs/add/operator/startWith.js' { - declare module.exports: $Exports<'rxjs/add/operator/startWith'>; -} -declare module 'rxjs/add/operator/subscribeOn.js' { - declare module.exports: $Exports<'rxjs/add/operator/subscribeOn'>; -} -declare module 'rxjs/add/operator/switch.js' { - declare module.exports: $Exports<'rxjs/add/operator/switch'>; -} -declare module 'rxjs/add/operator/switchMap.js' { - declare module.exports: $Exports<'rxjs/add/operator/switchMap'>; -} -declare module 'rxjs/add/operator/switchMapTo.js' { - declare module.exports: $Exports<'rxjs/add/operator/switchMapTo'>; -} -declare module 'rxjs/add/operator/take.js' { - declare module.exports: $Exports<'rxjs/add/operator/take'>; -} -declare module 'rxjs/add/operator/takeLast.js' { - declare module.exports: $Exports<'rxjs/add/operator/takeLast'>; -} -declare module 'rxjs/add/operator/takeUntil.js' { - declare module.exports: $Exports<'rxjs/add/operator/takeUntil'>; -} -declare module 'rxjs/add/operator/takeWhile.js' { - declare module.exports: $Exports<'rxjs/add/operator/takeWhile'>; -} -declare module 'rxjs/add/operator/throttle.js' { - declare module.exports: $Exports<'rxjs/add/operator/throttle'>; -} -declare module 'rxjs/add/operator/throttleTime.js' { - declare module.exports: $Exports<'rxjs/add/operator/throttleTime'>; -} -declare module 'rxjs/add/operator/timeInterval.js' { - declare module.exports: $Exports<'rxjs/add/operator/timeInterval'>; -} -declare module 'rxjs/add/operator/timeout.js' { - declare module.exports: $Exports<'rxjs/add/operator/timeout'>; -} -declare module 'rxjs/add/operator/timeoutWith.js' { - declare module.exports: $Exports<'rxjs/add/operator/timeoutWith'>; -} -declare module 'rxjs/add/operator/timestamp.js' { - declare module.exports: $Exports<'rxjs/add/operator/timestamp'>; -} -declare module 'rxjs/add/operator/toArray.js' { - declare module.exports: $Exports<'rxjs/add/operator/toArray'>; -} -declare module 'rxjs/add/operator/toPromise.js' { - declare module.exports: $Exports<'rxjs/add/operator/toPromise'>; -} -declare module 'rxjs/add/operator/window.js' { - declare module.exports: $Exports<'rxjs/add/operator/window'>; -} -declare module 'rxjs/add/operator/windowCount.js' { - declare module.exports: $Exports<'rxjs/add/operator/windowCount'>; -} -declare module 'rxjs/add/operator/windowTime.js' { - declare module.exports: $Exports<'rxjs/add/operator/windowTime'>; -} -declare module 'rxjs/add/operator/windowToggle.js' { - declare module.exports: $Exports<'rxjs/add/operator/windowToggle'>; -} -declare module 'rxjs/add/operator/windowWhen.js' { - declare module.exports: $Exports<'rxjs/add/operator/windowWhen'>; -} -declare module 'rxjs/add/operator/withLatestFrom.js' { - declare module.exports: $Exports<'rxjs/add/operator/withLatestFrom'>; -} -declare module 'rxjs/add/operator/zip.js' { - declare module.exports: $Exports<'rxjs/add/operator/zip'>; -} -declare module 'rxjs/add/operator/zipAll.js' { - declare module.exports: $Exports<'rxjs/add/operator/zipAll'>; -} -declare module 'rxjs/AsyncSubject.js' { - declare module.exports: $Exports<'rxjs/AsyncSubject'>; -} -declare module 'rxjs/BehaviorSubject.js' { - declare module.exports: $Exports<'rxjs/BehaviorSubject'>; -} -declare module 'rxjs/bundles/Rx.js' { - declare module.exports: $Exports<'rxjs/bundles/Rx'>; -} -declare module 'rxjs/bundles/Rx.min.js' { - declare module.exports: $Exports<'rxjs/bundles/Rx.min'>; -} -declare module 'rxjs/InnerSubscriber.js' { - declare module.exports: $Exports<'rxjs/InnerSubscriber'>; -} -declare module 'rxjs/Notification.js' { - declare module.exports: $Exports<'rxjs/Notification'>; -} -declare module 'rxjs/Observable.js' { - declare module.exports: $Exports<'rxjs/Observable'>; -} -declare module 'rxjs/observable/ArrayLikeObservable.js' { - declare module.exports: $Exports<'rxjs/observable/ArrayLikeObservable'>; -} -declare module 'rxjs/observable/ArrayObservable.js' { - declare module.exports: $Exports<'rxjs/observable/ArrayObservable'>; -} -declare module 'rxjs/observable/bindCallback.js' { - declare module.exports: $Exports<'rxjs/observable/bindCallback'>; -} -declare module 'rxjs/observable/bindNodeCallback.js' { - declare module.exports: $Exports<'rxjs/observable/bindNodeCallback'>; -} -declare module 'rxjs/observable/BoundCallbackObservable.js' { - declare module.exports: $Exports<'rxjs/observable/BoundCallbackObservable'>; -} -declare module 'rxjs/observable/BoundNodeCallbackObservable.js' { - declare module.exports: $Exports<'rxjs/observable/BoundNodeCallbackObservable'>; -} -declare module 'rxjs/observable/combineLatest.js' { - declare module.exports: $Exports<'rxjs/observable/combineLatest'>; -} -declare module 'rxjs/observable/concat.js' { - declare module.exports: $Exports<'rxjs/observable/concat'>; -} -declare module 'rxjs/observable/ConnectableObservable.js' { - declare module.exports: $Exports<'rxjs/observable/ConnectableObservable'>; -} -declare module 'rxjs/observable/defer.js' { - declare module.exports: $Exports<'rxjs/observable/defer'>; -} -declare module 'rxjs/observable/DeferObservable.js' { - declare module.exports: $Exports<'rxjs/observable/DeferObservable'>; -} -declare module 'rxjs/observable/dom/ajax.js' { - declare module.exports: $Exports<'rxjs/observable/dom/ajax'>; -} -declare module 'rxjs/observable/dom/AjaxObservable.js' { - declare module.exports: $Exports<'rxjs/observable/dom/AjaxObservable'>; -} -declare module 'rxjs/observable/dom/webSocket.js' { - declare module.exports: $Exports<'rxjs/observable/dom/webSocket'>; -} -declare module 'rxjs/observable/dom/WebSocketSubject.js' { - declare module.exports: $Exports<'rxjs/observable/dom/WebSocketSubject'>; -} -declare module 'rxjs/observable/empty.js' { - declare module.exports: $Exports<'rxjs/observable/empty'>; -} -declare module 'rxjs/observable/EmptyObservable.js' { - declare module.exports: $Exports<'rxjs/observable/EmptyObservable'>; -} -declare module 'rxjs/observable/ErrorObservable.js' { - declare module.exports: $Exports<'rxjs/observable/ErrorObservable'>; -} -declare module 'rxjs/observable/forkJoin.js' { - declare module.exports: $Exports<'rxjs/observable/forkJoin'>; -} -declare module 'rxjs/observable/ForkJoinObservable.js' { - declare module.exports: $Exports<'rxjs/observable/ForkJoinObservable'>; -} -declare module 'rxjs/observable/from.js' { - declare module.exports: $Exports<'rxjs/observable/from'>; -} -declare module 'rxjs/observable/fromEvent.js' { - declare module.exports: $Exports<'rxjs/observable/fromEvent'>; -} -declare module 'rxjs/observable/FromEventObservable.js' { - declare module.exports: $Exports<'rxjs/observable/FromEventObservable'>; -} -declare module 'rxjs/observable/fromEventPattern.js' { - declare module.exports: $Exports<'rxjs/observable/fromEventPattern'>; -} -declare module 'rxjs/observable/FromEventPatternObservable.js' { - declare module.exports: $Exports<'rxjs/observable/FromEventPatternObservable'>; -} -declare module 'rxjs/observable/FromObservable.js' { - declare module.exports: $Exports<'rxjs/observable/FromObservable'>; -} -declare module 'rxjs/observable/fromPromise.js' { - declare module.exports: $Exports<'rxjs/observable/fromPromise'>; -} -declare module 'rxjs/observable/GenerateObservable.js' { - declare module.exports: $Exports<'rxjs/observable/GenerateObservable'>; -} -declare module 'rxjs/observable/if.js' { - declare module.exports: $Exports<'rxjs/observable/if'>; -} -declare module 'rxjs/observable/IfObservable.js' { - declare module.exports: $Exports<'rxjs/observable/IfObservable'>; -} -declare module 'rxjs/observable/interval.js' { - declare module.exports: $Exports<'rxjs/observable/interval'>; -} -declare module 'rxjs/observable/IntervalObservable.js' { - declare module.exports: $Exports<'rxjs/observable/IntervalObservable'>; -} -declare module 'rxjs/observable/IteratorObservable.js' { - declare module.exports: $Exports<'rxjs/observable/IteratorObservable'>; -} -declare module 'rxjs/observable/merge.js' { - declare module.exports: $Exports<'rxjs/observable/merge'>; -} -declare module 'rxjs/observable/never.js' { - declare module.exports: $Exports<'rxjs/observable/never'>; -} -declare module 'rxjs/observable/NeverObservable.js' { - declare module.exports: $Exports<'rxjs/observable/NeverObservable'>; -} -declare module 'rxjs/observable/of.js' { - declare module.exports: $Exports<'rxjs/observable/of'>; -} -declare module 'rxjs/observable/pairs.js' { - declare module.exports: $Exports<'rxjs/observable/pairs'>; -} -declare module 'rxjs/observable/PairsObservable.js' { - declare module.exports: $Exports<'rxjs/observable/PairsObservable'>; -} -declare module 'rxjs/observable/PromiseObservable.js' { - declare module.exports: $Exports<'rxjs/observable/PromiseObservable'>; -} -declare module 'rxjs/observable/range.js' { - declare module.exports: $Exports<'rxjs/observable/range'>; -} -declare module 'rxjs/observable/RangeObservable.js' { - declare module.exports: $Exports<'rxjs/observable/RangeObservable'>; -} -declare module 'rxjs/observable/ScalarObservable.js' { - declare module.exports: $Exports<'rxjs/observable/ScalarObservable'>; -} -declare module 'rxjs/observable/SubscribeOnObservable.js' { - declare module.exports: $Exports<'rxjs/observable/SubscribeOnObservable'>; -} -declare module 'rxjs/observable/throw.js' { - declare module.exports: $Exports<'rxjs/observable/throw'>; -} -declare module 'rxjs/observable/timer.js' { - declare module.exports: $Exports<'rxjs/observable/timer'>; -} -declare module 'rxjs/observable/TimerObservable.js' { - declare module.exports: $Exports<'rxjs/observable/TimerObservable'>; -} -declare module 'rxjs/observable/using.js' { - declare module.exports: $Exports<'rxjs/observable/using'>; -} -declare module 'rxjs/observable/UsingObservable.js' { - declare module.exports: $Exports<'rxjs/observable/UsingObservable'>; -} -declare module 'rxjs/observable/zip.js' { - declare module.exports: $Exports<'rxjs/observable/zip'>; -} -declare module 'rxjs/Observer.js' { - declare module.exports: $Exports<'rxjs/Observer'>; -} -declare module 'rxjs/Operator.js' { - declare module.exports: $Exports<'rxjs/Operator'>; -} -declare module 'rxjs/operator/audit.js' { - declare module.exports: $Exports<'rxjs/operator/audit'>; -} -declare module 'rxjs/operator/auditTime.js' { - declare module.exports: $Exports<'rxjs/operator/auditTime'>; -} -declare module 'rxjs/operator/buffer.js' { - declare module.exports: $Exports<'rxjs/operator/buffer'>; -} -declare module 'rxjs/operator/bufferCount.js' { - declare module.exports: $Exports<'rxjs/operator/bufferCount'>; -} -declare module 'rxjs/operator/bufferTime.js' { - declare module.exports: $Exports<'rxjs/operator/bufferTime'>; -} -declare module 'rxjs/operator/bufferToggle.js' { - declare module.exports: $Exports<'rxjs/operator/bufferToggle'>; -} -declare module 'rxjs/operator/bufferWhen.js' { - declare module.exports: $Exports<'rxjs/operator/bufferWhen'>; -} -declare module 'rxjs/operator/catch.js' { - declare module.exports: $Exports<'rxjs/operator/catch'>; -} -declare module 'rxjs/operator/combineAll.js' { - declare module.exports: $Exports<'rxjs/operator/combineAll'>; -} -declare module 'rxjs/operator/combineLatest.js' { - declare module.exports: $Exports<'rxjs/operator/combineLatest'>; -} -declare module 'rxjs/operator/concat.js' { - declare module.exports: $Exports<'rxjs/operator/concat'>; -} -declare module 'rxjs/operator/concatAll.js' { - declare module.exports: $Exports<'rxjs/operator/concatAll'>; -} -declare module 'rxjs/operator/concatMap.js' { - declare module.exports: $Exports<'rxjs/operator/concatMap'>; -} -declare module 'rxjs/operator/concatMapTo.js' { - declare module.exports: $Exports<'rxjs/operator/concatMapTo'>; -} -declare module 'rxjs/operator/count.js' { - declare module.exports: $Exports<'rxjs/operator/count'>; -} -declare module 'rxjs/operator/debounce.js' { - declare module.exports: $Exports<'rxjs/operator/debounce'>; -} -declare module 'rxjs/operator/debounceTime.js' { - declare module.exports: $Exports<'rxjs/operator/debounceTime'>; -} -declare module 'rxjs/operator/defaultIfEmpty.js' { - declare module.exports: $Exports<'rxjs/operator/defaultIfEmpty'>; -} -declare module 'rxjs/operator/delay.js' { - declare module.exports: $Exports<'rxjs/operator/delay'>; -} -declare module 'rxjs/operator/delayWhen.js' { - declare module.exports: $Exports<'rxjs/operator/delayWhen'>; -} -declare module 'rxjs/operator/dematerialize.js' { - declare module.exports: $Exports<'rxjs/operator/dematerialize'>; -} -declare module 'rxjs/operator/distinct.js' { - declare module.exports: $Exports<'rxjs/operator/distinct'>; -} -declare module 'rxjs/operator/distinctUntilChanged.js' { - declare module.exports: $Exports<'rxjs/operator/distinctUntilChanged'>; -} -declare module 'rxjs/operator/distinctUntilKeyChanged.js' { - declare module.exports: $Exports<'rxjs/operator/distinctUntilKeyChanged'>; -} -declare module 'rxjs/operator/do.js' { - declare module.exports: $Exports<'rxjs/operator/do'>; -} -declare module 'rxjs/operator/elementAt.js' { - declare module.exports: $Exports<'rxjs/operator/elementAt'>; -} -declare module 'rxjs/operator/every.js' { - declare module.exports: $Exports<'rxjs/operator/every'>; -} -declare module 'rxjs/operator/exhaust.js' { - declare module.exports: $Exports<'rxjs/operator/exhaust'>; -} -declare module 'rxjs/operator/exhaustMap.js' { - declare module.exports: $Exports<'rxjs/operator/exhaustMap'>; -} -declare module 'rxjs/operator/expand.js' { - declare module.exports: $Exports<'rxjs/operator/expand'>; -} -declare module 'rxjs/operator/filter.js' { - declare module.exports: $Exports<'rxjs/operator/filter'>; -} -declare module 'rxjs/operator/finally.js' { - declare module.exports: $Exports<'rxjs/operator/finally'>; -} -declare module 'rxjs/operator/find.js' { - declare module.exports: $Exports<'rxjs/operator/find'>; -} -declare module 'rxjs/operator/findIndex.js' { - declare module.exports: $Exports<'rxjs/operator/findIndex'>; -} -declare module 'rxjs/operator/first.js' { - declare module.exports: $Exports<'rxjs/operator/first'>; -} -declare module 'rxjs/operator/groupBy.js' { - declare module.exports: $Exports<'rxjs/operator/groupBy'>; -} -declare module 'rxjs/operator/ignoreElements.js' { - declare module.exports: $Exports<'rxjs/operator/ignoreElements'>; -} -declare module 'rxjs/operator/isEmpty.js' { - declare module.exports: $Exports<'rxjs/operator/isEmpty'>; -} -declare module 'rxjs/operator/last.js' { - declare module.exports: $Exports<'rxjs/operator/last'>; -} -declare module 'rxjs/operator/let.js' { - declare module.exports: $Exports<'rxjs/operator/let'>; -} -declare module 'rxjs/operator/map.js' { - declare module.exports: $Exports<'rxjs/operator/map'>; -} -declare module 'rxjs/operator/mapTo.js' { - declare module.exports: $Exports<'rxjs/operator/mapTo'>; -} -declare module 'rxjs/operator/materialize.js' { - declare module.exports: $Exports<'rxjs/operator/materialize'>; -} -declare module 'rxjs/operator/max.js' { - declare module.exports: $Exports<'rxjs/operator/max'>; -} -declare module 'rxjs/operator/merge.js' { - declare module.exports: $Exports<'rxjs/operator/merge'>; -} -declare module 'rxjs/operator/mergeAll.js' { - declare module.exports: $Exports<'rxjs/operator/mergeAll'>; -} -declare module 'rxjs/operator/mergeMap.js' { - declare module.exports: $Exports<'rxjs/operator/mergeMap'>; -} -declare module 'rxjs/operator/mergeMapTo.js' { - declare module.exports: $Exports<'rxjs/operator/mergeMapTo'>; -} -declare module 'rxjs/operator/mergeScan.js' { - declare module.exports: $Exports<'rxjs/operator/mergeScan'>; -} -declare module 'rxjs/operator/min.js' { - declare module.exports: $Exports<'rxjs/operator/min'>; -} -declare module 'rxjs/operator/multicast.js' { - declare module.exports: $Exports<'rxjs/operator/multicast'>; -} -declare module 'rxjs/operator/observeOn.js' { - declare module.exports: $Exports<'rxjs/operator/observeOn'>; -} -declare module 'rxjs/operator/onErrorResumeNext.js' { - declare module.exports: $Exports<'rxjs/operator/onErrorResumeNext'>; -} -declare module 'rxjs/operator/pairwise.js' { - declare module.exports: $Exports<'rxjs/operator/pairwise'>; -} -declare module 'rxjs/operator/partition.js' { - declare module.exports: $Exports<'rxjs/operator/partition'>; -} -declare module 'rxjs/operator/pluck.js' { - declare module.exports: $Exports<'rxjs/operator/pluck'>; -} -declare module 'rxjs/operator/publish.js' { - declare module.exports: $Exports<'rxjs/operator/publish'>; -} -declare module 'rxjs/operator/publishBehavior.js' { - declare module.exports: $Exports<'rxjs/operator/publishBehavior'>; -} -declare module 'rxjs/operator/publishLast.js' { - declare module.exports: $Exports<'rxjs/operator/publishLast'>; -} -declare module 'rxjs/operator/publishReplay.js' { - declare module.exports: $Exports<'rxjs/operator/publishReplay'>; -} -declare module 'rxjs/operator/race.js' { - declare module.exports: $Exports<'rxjs/operator/race'>; -} -declare module 'rxjs/operator/reduce.js' { - declare module.exports: $Exports<'rxjs/operator/reduce'>; -} -declare module 'rxjs/operator/repeat.js' { - declare module.exports: $Exports<'rxjs/operator/repeat'>; -} -declare module 'rxjs/operator/repeatWhen.js' { - declare module.exports: $Exports<'rxjs/operator/repeatWhen'>; -} -declare module 'rxjs/operator/retry.js' { - declare module.exports: $Exports<'rxjs/operator/retry'>; -} -declare module 'rxjs/operator/retryWhen.js' { - declare module.exports: $Exports<'rxjs/operator/retryWhen'>; -} -declare module 'rxjs/operator/sample.js' { - declare module.exports: $Exports<'rxjs/operator/sample'>; -} -declare module 'rxjs/operator/sampleTime.js' { - declare module.exports: $Exports<'rxjs/operator/sampleTime'>; -} -declare module 'rxjs/operator/scan.js' { - declare module.exports: $Exports<'rxjs/operator/scan'>; -} -declare module 'rxjs/operator/sequenceEqual.js' { - declare module.exports: $Exports<'rxjs/operator/sequenceEqual'>; -} -declare module 'rxjs/operator/share.js' { - declare module.exports: $Exports<'rxjs/operator/share'>; -} -declare module 'rxjs/operator/shareReplay.js' { - declare module.exports: $Exports<'rxjs/operator/shareReplay'>; -} -declare module 'rxjs/operator/single.js' { - declare module.exports: $Exports<'rxjs/operator/single'>; -} -declare module 'rxjs/operator/skip.js' { - declare module.exports: $Exports<'rxjs/operator/skip'>; -} -declare module 'rxjs/operator/skipLast.js' { - declare module.exports: $Exports<'rxjs/operator/skipLast'>; -} -declare module 'rxjs/operator/skipUntil.js' { - declare module.exports: $Exports<'rxjs/operator/skipUntil'>; -} -declare module 'rxjs/operator/skipWhile.js' { - declare module.exports: $Exports<'rxjs/operator/skipWhile'>; -} -declare module 'rxjs/operator/startWith.js' { - declare module.exports: $Exports<'rxjs/operator/startWith'>; -} -declare module 'rxjs/operator/subscribeOn.js' { - declare module.exports: $Exports<'rxjs/operator/subscribeOn'>; -} -declare module 'rxjs/operator/switch.js' { - declare module.exports: $Exports<'rxjs/operator/switch'>; -} -declare module 'rxjs/operator/switchMap.js' { - declare module.exports: $Exports<'rxjs/operator/switchMap'>; -} -declare module 'rxjs/operator/switchMapTo.js' { - declare module.exports: $Exports<'rxjs/operator/switchMapTo'>; -} -declare module 'rxjs/operator/take.js' { - declare module.exports: $Exports<'rxjs/operator/take'>; -} -declare module 'rxjs/operator/takeLast.js' { - declare module.exports: $Exports<'rxjs/operator/takeLast'>; -} -declare module 'rxjs/operator/takeUntil.js' { - declare module.exports: $Exports<'rxjs/operator/takeUntil'>; -} -declare module 'rxjs/operator/takeWhile.js' { - declare module.exports: $Exports<'rxjs/operator/takeWhile'>; -} -declare module 'rxjs/operator/throttle.js' { - declare module.exports: $Exports<'rxjs/operator/throttle'>; -} -declare module 'rxjs/operator/throttleTime.js' { - declare module.exports: $Exports<'rxjs/operator/throttleTime'>; -} -declare module 'rxjs/operator/timeInterval.js' { - declare module.exports: $Exports<'rxjs/operator/timeInterval'>; -} -declare module 'rxjs/operator/timeout.js' { - declare module.exports: $Exports<'rxjs/operator/timeout'>; -} -declare module 'rxjs/operator/timeoutWith.js' { - declare module.exports: $Exports<'rxjs/operator/timeoutWith'>; -} -declare module 'rxjs/operator/timestamp.js' { - declare module.exports: $Exports<'rxjs/operator/timestamp'>; -} -declare module 'rxjs/operator/toArray.js' { - declare module.exports: $Exports<'rxjs/operator/toArray'>; -} -declare module 'rxjs/operator/toPromise.js' { - declare module.exports: $Exports<'rxjs/operator/toPromise'>; -} -declare module 'rxjs/operator/window.js' { - declare module.exports: $Exports<'rxjs/operator/window'>; -} -declare module 'rxjs/operator/windowCount.js' { - declare module.exports: $Exports<'rxjs/operator/windowCount'>; -} -declare module 'rxjs/operator/windowTime.js' { - declare module.exports: $Exports<'rxjs/operator/windowTime'>; -} -declare module 'rxjs/operator/windowToggle.js' { - declare module.exports: $Exports<'rxjs/operator/windowToggle'>; -} -declare module 'rxjs/operator/windowWhen.js' { - declare module.exports: $Exports<'rxjs/operator/windowWhen'>; -} -declare module 'rxjs/operator/withLatestFrom.js' { - declare module.exports: $Exports<'rxjs/operator/withLatestFrom'>; -} -declare module 'rxjs/operator/zip.js' { - declare module.exports: $Exports<'rxjs/operator/zip'>; -} -declare module 'rxjs/operator/zipAll.js' { - declare module.exports: $Exports<'rxjs/operator/zipAll'>; -} -declare module 'rxjs/OuterSubscriber.js' { - declare module.exports: $Exports<'rxjs/OuterSubscriber'>; -} -declare module 'rxjs/ReplaySubject.js' { - declare module.exports: $Exports<'rxjs/ReplaySubject'>; -} -declare module 'rxjs/Rx.js' { - declare module.exports: $Exports<'rxjs/Rx'>; -} -declare module 'rxjs/Scheduler.js' { - declare module.exports: $Exports<'rxjs/Scheduler'>; -} -declare module 'rxjs/scheduler/Action.js' { - declare module.exports: $Exports<'rxjs/scheduler/Action'>; -} -declare module 'rxjs/scheduler/animationFrame.js' { - declare module.exports: $Exports<'rxjs/scheduler/animationFrame'>; -} -declare module 'rxjs/scheduler/AnimationFrameAction.js' { - declare module.exports: $Exports<'rxjs/scheduler/AnimationFrameAction'>; -} -declare module 'rxjs/scheduler/AnimationFrameScheduler.js' { - declare module.exports: $Exports<'rxjs/scheduler/AnimationFrameScheduler'>; -} -declare module 'rxjs/scheduler/asap.js' { - declare module.exports: $Exports<'rxjs/scheduler/asap'>; -} -declare module 'rxjs/scheduler/AsapAction.js' { - declare module.exports: $Exports<'rxjs/scheduler/AsapAction'>; -} -declare module 'rxjs/scheduler/AsapScheduler.js' { - declare module.exports: $Exports<'rxjs/scheduler/AsapScheduler'>; -} -declare module 'rxjs/scheduler/async.js' { - declare module.exports: $Exports<'rxjs/scheduler/async'>; -} -declare module 'rxjs/scheduler/AsyncAction.js' { - declare module.exports: $Exports<'rxjs/scheduler/AsyncAction'>; -} -declare module 'rxjs/scheduler/AsyncScheduler.js' { - declare module.exports: $Exports<'rxjs/scheduler/AsyncScheduler'>; -} -declare module 'rxjs/scheduler/queue.js' { - declare module.exports: $Exports<'rxjs/scheduler/queue'>; -} -declare module 'rxjs/scheduler/QueueAction.js' { - declare module.exports: $Exports<'rxjs/scheduler/QueueAction'>; -} -declare module 'rxjs/scheduler/QueueScheduler.js' { - declare module.exports: $Exports<'rxjs/scheduler/QueueScheduler'>; -} -declare module 'rxjs/scheduler/VirtualTimeScheduler.js' { - declare module.exports: $Exports<'rxjs/scheduler/VirtualTimeScheduler'>; -} -declare module 'rxjs/src/Rx.global.js' { - declare module.exports: $Exports<'rxjs/src/Rx.global'>; -} -declare module 'rxjs/Subject.js' { - declare module.exports: $Exports<'rxjs/Subject'>; -} -declare module 'rxjs/SubjectSubscription.js' { - declare module.exports: $Exports<'rxjs/SubjectSubscription'>; -} -declare module 'rxjs/Subscriber.js' { - declare module.exports: $Exports<'rxjs/Subscriber'>; -} -declare module 'rxjs/Subscription.js' { - declare module.exports: $Exports<'rxjs/Subscription'>; -} -declare module 'rxjs/symbol/iterator.js' { - declare module.exports: $Exports<'rxjs/symbol/iterator'>; -} -declare module 'rxjs/symbol/observable.js' { - declare module.exports: $Exports<'rxjs/symbol/observable'>; -} -declare module 'rxjs/symbol/rxSubscriber.js' { - declare module.exports: $Exports<'rxjs/symbol/rxSubscriber'>; -} -declare module 'rxjs/testing/ColdObservable.js' { - declare module.exports: $Exports<'rxjs/testing/ColdObservable'>; -} -declare module 'rxjs/testing/HotObservable.js' { - declare module.exports: $Exports<'rxjs/testing/HotObservable'>; -} -declare module 'rxjs/testing/SubscriptionLog.js' { - declare module.exports: $Exports<'rxjs/testing/SubscriptionLog'>; -} -declare module 'rxjs/testing/SubscriptionLoggable.js' { - declare module.exports: $Exports<'rxjs/testing/SubscriptionLoggable'>; -} -declare module 'rxjs/testing/TestMessage.js' { - declare module.exports: $Exports<'rxjs/testing/TestMessage'>; -} -declare module 'rxjs/testing/TestScheduler.js' { - declare module.exports: $Exports<'rxjs/testing/TestScheduler'>; -} -declare module 'rxjs/util/AnimationFrame.js' { - declare module.exports: $Exports<'rxjs/util/AnimationFrame'>; -} -declare module 'rxjs/util/applyMixins.js' { - declare module.exports: $Exports<'rxjs/util/applyMixins'>; -} -declare module 'rxjs/util/ArgumentOutOfRangeError.js' { - declare module.exports: $Exports<'rxjs/util/ArgumentOutOfRangeError'>; -} -declare module 'rxjs/util/assign.js' { - declare module.exports: $Exports<'rxjs/util/assign'>; -} -declare module 'rxjs/util/EmptyError.js' { - declare module.exports: $Exports<'rxjs/util/EmptyError'>; -} -declare module 'rxjs/util/errorObject.js' { - declare module.exports: $Exports<'rxjs/util/errorObject'>; -} -declare module 'rxjs/util/FastMap.js' { - declare module.exports: $Exports<'rxjs/util/FastMap'>; -} -declare module 'rxjs/util/Immediate.js' { - declare module.exports: $Exports<'rxjs/util/Immediate'>; -} -declare module 'rxjs/util/isArray.js' { - declare module.exports: $Exports<'rxjs/util/isArray'>; -} -declare module 'rxjs/util/isArrayLike.js' { - declare module.exports: $Exports<'rxjs/util/isArrayLike'>; -} -declare module 'rxjs/util/isDate.js' { - declare module.exports: $Exports<'rxjs/util/isDate'>; -} -declare module 'rxjs/util/isFunction.js' { - declare module.exports: $Exports<'rxjs/util/isFunction'>; -} -declare module 'rxjs/util/isNumeric.js' { - declare module.exports: $Exports<'rxjs/util/isNumeric'>; -} -declare module 'rxjs/util/isObject.js' { - declare module.exports: $Exports<'rxjs/util/isObject'>; -} -declare module 'rxjs/util/isPromise.js' { - declare module.exports: $Exports<'rxjs/util/isPromise'>; -} -declare module 'rxjs/util/isScheduler.js' { - declare module.exports: $Exports<'rxjs/util/isScheduler'>; -} -declare module 'rxjs/util/Map.js' { - declare module.exports: $Exports<'rxjs/util/Map'>; -} -declare module 'rxjs/util/MapPolyfill.js' { - declare module.exports: $Exports<'rxjs/util/MapPolyfill'>; -} -declare module 'rxjs/util/noop.js' { - declare module.exports: $Exports<'rxjs/util/noop'>; -} -declare module 'rxjs/util/not.js' { - declare module.exports: $Exports<'rxjs/util/not'>; -} -declare module 'rxjs/util/ObjectUnsubscribedError.js' { - declare module.exports: $Exports<'rxjs/util/ObjectUnsubscribedError'>; -} -declare module 'rxjs/util/root.js' { - declare module.exports: $Exports<'rxjs/util/root'>; -} -declare module 'rxjs/util/Set.js' { - declare module.exports: $Exports<'rxjs/util/Set'>; -} -declare module 'rxjs/util/subscribeToResult.js' { - declare module.exports: $Exports<'rxjs/util/subscribeToResult'>; -} -declare module 'rxjs/util/TimeoutError.js' { - declare module.exports: $Exports<'rxjs/util/TimeoutError'>; -} -declare module 'rxjs/util/toSubscriber.js' { - declare module.exports: $Exports<'rxjs/util/toSubscriber'>; -} -declare module 'rxjs/util/tryCatch.js' { - declare module.exports: $Exports<'rxjs/util/tryCatch'>; -} -declare module 'rxjs/util/UnsubscriptionError.js' { - declare module.exports: $Exports<'rxjs/util/UnsubscriptionError'>; -} diff --git a/flow-typed/npm/semver_vx.x.x.js b/flow-typed/npm/semver_vx.x.x.js deleted file mode 100644 index a12178c..0000000 --- a/flow-typed/npm/semver_vx.x.x.js +++ /dev/null @@ -1,39 +0,0 @@ -// flow-typed signature: fabed94e94d78b92e3b66781f9dd61d0 -// flow-typed version: <>/semver_v^6.3.0/flow_v0.104.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'semver' - * - * Fill this stub out by replacing all the `any` types. - * - * Once filled out, we encourage you to share your work with the - * community by sending a pull request to: - * https://github.com/flowtype/flow-typed - */ - -declare module 'semver' { - declare module.exports: any; -} - -/** - * We include stubs for each file inside this npm package in case you need to - * require those files directly. Feel free to delete any files that aren't - * needed. - */ -declare module 'semver/bin/semver' { - declare module.exports: any; -} - -declare module 'semver/semver' { - declare module.exports: any; -} - -// Filename aliases -declare module 'semver/bin/semver.js' { - declare module.exports: $Exports<'semver/bin/semver'>; -} -declare module 'semver/semver.js' { - declare module.exports: $Exports<'semver/semver'>; -} diff --git a/flow-typed/npm/shell-quote_vx.x.x.js b/flow-typed/npm/shell-quote_vx.x.x.js index 96beacf..42a73b1 100644 --- a/flow-typed/npm/shell-quote_vx.x.x.js +++ b/flow-typed/npm/shell-quote_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: a1340f6ba647abe30fa5fc2b94199d8a -// flow-typed version: <>/shell-quote_v^1.6.0/flow_v0.103.0 +// flow-typed signature: 4bb37a058d34460966c72d5bc5ff1ee2 +// flow-typed version: <>/shell-quote_v^1.6.0/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/temp_vx.x.x.js b/flow-typed/npm/temp_vx.x.x.js index fb37cc9..65a0f41 100644 --- a/flow-typed/npm/temp_vx.x.x.js +++ b/flow-typed/npm/temp_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 3b8e7c03091dc167b558a841ff515c58 -// flow-typed version: <>/temp_v^0.9.0/flow_v0.103.0 +// flow-typed signature: 70091301e3e9dc88e63a1fbad672fd14 +// flow-typed version: <>/temp_v^0.9.0/flow_v0.146.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/vscode-languageclient_vx.x.x.js b/flow-typed/npm/vscode-languageclient_vx.x.x.js deleted file mode 100644 index 9ad187f..0000000 --- a/flow-typed/npm/vscode-languageclient_vx.x.x.js +++ /dev/null @@ -1,151 +0,0 @@ -// flow-typed signature: 0ac223bb3f4ff662629699f50d34f095 -// flow-typed version: <>/vscode-languageclient_v^5.2.1/flow_v0.103.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'vscode-languageclient' - * - * Fill this stub out by replacing all the `any` types. - * - * Once filled out, we encourage you to share your work with the - * community by sending a pull request to: - * https://github.com/flowtype/flow-typed - */ - -declare module 'vscode-languageclient' { - declare module.exports: any; -} - -/** - * We include stubs for each file inside this npm package in case you need to - * require those files directly. Feel free to delete any files that aren't - * needed. - */ -declare module 'vscode-languageclient/lib/client' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/codeConverter' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/colorProvider' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/configuration' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/declaration' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/foldingRange' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/implementation' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/main' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/protocolCodeLens' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/protocolCompletionItem' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/protocolConverter' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/protocolDocumentLink' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/typeDefinition' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/utils/async' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/utils/is' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/utils/processes' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/utils/uuid' { - declare module.exports: any; -} - -declare module 'vscode-languageclient/lib/workspaceFolders' { - declare module.exports: any; -} - -// Filename aliases -declare module 'vscode-languageclient/lib/client.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/client'>; -} -declare module 'vscode-languageclient/lib/codeConverter.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/codeConverter'>; -} -declare module 'vscode-languageclient/lib/colorProvider.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/colorProvider'>; -} -declare module 'vscode-languageclient/lib/configuration.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/configuration'>; -} -declare module 'vscode-languageclient/lib/declaration.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/declaration'>; -} -declare module 'vscode-languageclient/lib/foldingRange.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/foldingRange'>; -} -declare module 'vscode-languageclient/lib/implementation.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/implementation'>; -} -declare module 'vscode-languageclient/lib/main.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/main'>; -} -declare module 'vscode-languageclient/lib/protocolCodeLens.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/protocolCodeLens'>; -} -declare module 'vscode-languageclient/lib/protocolCompletionItem.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/protocolCompletionItem'>; -} -declare module 'vscode-languageclient/lib/protocolConverter.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/protocolConverter'>; -} -declare module 'vscode-languageclient/lib/protocolDocumentLink.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/protocolDocumentLink'>; -} -declare module 'vscode-languageclient/lib/typeDefinition.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/typeDefinition'>; -} -declare module 'vscode-languageclient/lib/utils/async.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/utils/async'>; -} -declare module 'vscode-languageclient/lib/utils/is.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/utils/is'>; -} -declare module 'vscode-languageclient/lib/utils/processes.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/utils/processes'>; -} -declare module 'vscode-languageclient/lib/utils/uuid.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/utils/uuid'>; -} -declare module 'vscode-languageclient/lib/workspaceFolders.js' { - declare module.exports: $Exports<'vscode-languageclient/lib/workspaceFolders'>; -} diff --git a/flow-typed/npm/vscode-uri_vx.x.x.js b/flow-typed/npm/vscode-uri_vx.x.x.js deleted file mode 100644 index f71bff1..0000000 --- a/flow-typed/npm/vscode-uri_vx.x.x.js +++ /dev/null @@ -1,45 +0,0 @@ -// flow-typed signature: 51a66a87f4c53bcd85ae2390149f70b0 -// flow-typed version: <>/vscode-uri_v2.0.3/flow_v0.106.3 - -/** - * This is an autogenerated libdef stub for: - * - * 'vscode-uri' - * - * Fill this stub out by replacing all the `any` types. - * - * Once filled out, we encourage you to share your work with the - * community by sending a pull request to: - * https://github.com/flowtype/flow-typed - */ - -declare module 'vscode-uri' { - declare module.exports: any; -} - -/** - * We include stubs for each file inside this npm package in case you need to - * require those files directly. Feel free to delete any files that aren't - * needed. - */ -declare module 'vscode-uri/lib/esm' { - declare module.exports: any; -} - -declare module 'vscode-uri/lib/umd' { - declare module.exports: any; -} - -// Filename aliases -declare module 'vscode-uri/lib/esm/index' { - declare module.exports: $Exports<'vscode-uri/lib/esm'>; -} -declare module 'vscode-uri/lib/esm/index.js' { - declare module.exports: $Exports<'vscode-uri/lib/esm'>; -} -declare module 'vscode-uri/lib/umd/index' { - declare module.exports: $Exports<'vscode-uri/lib/umd'>; -} -declare module 'vscode-uri/lib/umd/index.js' { - declare module.exports: $Exports<'vscode-uri/lib/umd'>; -} diff --git a/flow-typed/npm/vscode_vx.x.x.js b/flow-typed/npm/vscode_vx.x.x.js deleted file mode 100644 index 1198c4b..0000000 --- a/flow-typed/npm/vscode_vx.x.x.js +++ /dev/null @@ -1,39 +0,0 @@ -// flow-typed signature: db30e07cc58519c0940024e9b6ce4a65 -// flow-typed version: <>/vscode_v^1.1.35/flow_v0.103.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'vscode' - * - * Fill this stub out by replacing all the `any` types. - * - * Once filled out, we encourage you to share your work with the - * community by sending a pull request to: - * https://github.com/flowtype/flow-typed - */ - -declare module 'vscode' { - declare module.exports: any; -} - -/** - * We include stubs for each file inside this npm package in case you need to - * require those files directly. Feel free to delete any files that aren't - * needed. - */ -declare module 'vscode/lib/shared' { - declare module.exports: any; -} - -declare module 'vscode/lib/testrunner' { - declare module.exports: any; -} - -// Filename aliases -declare module 'vscode/lib/shared.js' { - declare module.exports: $Exports<'vscode/lib/shared'>; -} -declare module 'vscode/lib/testrunner.js' { - declare module.exports: $Exports<'vscode/lib/testrunner'>; -} diff --git a/jest.config.js b/jest.config.js index c2e9c18..e4cdbbd 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,3 +1,4 @@ +/* eslint-disable import/no-commonjs */ /* @flow */ module.exports = { testRegex: '__tests__/.*.test.js$', diff --git a/lib/common/Logger.js b/lib/common/Logger.js index 95d6e36..38a95b2 100644 --- a/lib/common/Logger.js +++ b/lib/common/Logger.js @@ -64,7 +64,7 @@ export default class Logger { } } - _getLevelVal() { + _getLevelVal(): number { return LOG_LEVEL[this._level]; } diff --git a/lib/common/useLSP.js b/lib/common/useLSP.js index 391589b..bdfe207 100644 --- a/lib/common/useLSP.js +++ b/lib/common/useLSP.js @@ -1,6 +1,6 @@ /* @flow */ import * as vscode from 'vscode'; -export default function useLSP() { +export default function useLSP(): boolean { return vscode.workspace.getConfiguration('flow').get('useLSP'); } diff --git a/lib/flowLSP/FlowClients.js b/lib/flowLSP/FlowClients.js index de1919d..995d231 100644 --- a/lib/flowLSP/FlowClients.js +++ b/lib/flowLSP/FlowClients.js @@ -57,12 +57,16 @@ export default class FlowClients { } } - getActive() { + getActive(): ?FlowLanguageClient { return this._activeClient; } pick(placeHolder: string): Promise { - const items = []; + const items: Array<{ + label: string, + description: string, + client: FlowLanguageClient, + }> = []; this._clients.forEach((client) => { const isActiveClient = client === this._activeClient; const item = { @@ -98,7 +102,7 @@ export default class FlowClients { }); } - _disposeClient(client: FlowLanguageClient) { + _disposeClient(client: FlowLanguageClient): Promise { if (this._activeClient === client) { this.setActive(null); } @@ -107,7 +111,9 @@ export default class FlowClients { return client.dispose(); } - _getClientByWorkspaceFolder(workspaceFolder: vscode.WorkspaceFolder) { + _getClientByWorkspaceFolder( + workspaceFolder: vscode.WorkspaceFolder, + ): Array { const clients = []; this._clients.forEach((client) => { if (client.getWorkspaceRoot() === workspaceFolder.uri.fsPath) { diff --git a/lib/flowLSP/FlowLanguageClient/ClientCommands.js b/lib/flowLSP/FlowLanguageClient/ClientCommands.js index b2c9358..331fb35 100644 --- a/lib/flowLSP/FlowLanguageClient/ClientCommands.js +++ b/lib/flowLSP/FlowLanguageClient/ClientCommands.js @@ -1,6 +1,7 @@ /* @flow */ import * as vscode from 'vscode'; import { type StatusReport } from '../utils/LanguageClient'; +import { type ActionItem } from '../utils/LanguageClient/StatusFeature/types'; interface Client { getID(): string; @@ -51,7 +52,7 @@ export default class ClientCommands { this._commands.forEach((command) => command.dispose()); } - _registerCommands = () => { + _registerCommands: () => void = () => { this._commands = [ vscode.commands.registerCommand(this.showStatus, this._handleShowStatus), vscode.commands.registerCommand(this.restartClient, () => @@ -68,7 +69,7 @@ export default class ClientCommands { ]; }; - _handleClientActionsCommand = () => { + _handleClientActionsCommand: () => null | Promise = () => { const status = this._client.getStatus(); // if server is in error state then directly run show status if (status && status.state === 'error') { @@ -77,7 +78,10 @@ export default class ClientCommands { } // show user options to choose command - const items = [ + const items: Array<{ + label: string, + command: string, + }> = [ { label: 'Toggle display of uncovered areas', description: 'Type coverage', @@ -99,7 +103,7 @@ export default class ClientCommands { }); }; - _handleShowStatus = () => { + _handleShowStatus: () => void = () => { const name = this._client.getName(); const status = this._client.getStatus(); if (!status) { @@ -111,7 +115,10 @@ export default class ClientCommands { const actions = status.actions || []; vscode.window - .showErrorMessage(`[${name}] ${status.message || ''}`, ...actions) + .showErrorMessage( + `[${name}] ${status.message || ''}`, + ...actions, + ) .then((selection) => { if (selection) { selection.command(); @@ -122,7 +129,10 @@ export default class ClientCommands { case 'busy': { const actions = status.actions || []; vscode.window - .showWarningMessage(`[${name}] ${status.message || ''}`, ...actions) + .showWarningMessage( + `[${name}] ${status.message || ''}`, + ...actions, + ) .then((selection) => { if (selection) { selection.command(); @@ -141,7 +151,7 @@ export default class ClientCommands { } }; - _handleLogDebugInfo = () => { + _handleLogDebugInfo: () => void = () => { this._client.logDebugInfo(); // open output channel // command inside command not running so running in next tick diff --git a/lib/flowLSP/FlowLanguageClient/FlowLanguageClient.js b/lib/flowLSP/FlowLanguageClient/FlowLanguageClient.js index d5d800f..9220525 100644 --- a/lib/flowLSP/FlowLanguageClient/FlowLanguageClient.js +++ b/lib/flowLSP/FlowLanguageClient/FlowLanguageClient.js @@ -3,6 +3,8 @@ import * as vscode from 'vscode'; import path from 'path'; import * as lsp from '../utils/LanguageClient'; +import LanguageClientEx from '../utils/LanguageClient/Client'; +import { type StatusReport } from '../utils/LanguageClient/StatusFeature/types'; import StatusBarWidget from './StatusBarWidget'; import createMiddleware from './createMiddleware'; import ClientCommands from './ClientCommands'; @@ -65,7 +67,7 @@ export default class FlowLanguageClient { return this._id; } - getStatus() { + getStatus(): null | StatusReport { return this._statusBarWidget.getStatus(); } @@ -131,7 +133,7 @@ export default class FlowLanguageClient { } } - async _createClient(config: Config) { + async _createClient(config: Config): Promise { const { _logger, _options, _statusBarWidget } = this; const { outputChannel, flowconfigPath, workspaceRoot } = _options; @@ -326,12 +328,12 @@ export default class FlowLanguageClient { return Promise.resolve(this._client ? this._client.stop() : undefined); } - _createLogger(config: Config) { + _createLogger(config: Config): Logger { const { _options } = this; return new Logger(this.getName(), _options.outputChannel, config.logLevel); } - _handleInitError = (err: Error) => { + _handleInitError: (err: Error) => void = (err) => { const msg = `Failed to start flow\n${err.toString()}`; this._logger.error(msg); this._setStatus({ diff --git a/lib/flowLSP/FlowLanguageClient/StatusBarWidget.js b/lib/flowLSP/FlowLanguageClient/StatusBarWidget.js index 105d64e..da8bc5e 100644 --- a/lib/flowLSP/FlowLanguageClient/StatusBarWidget.js +++ b/lib/flowLSP/FlowLanguageClient/StatusBarWidget.js @@ -29,7 +29,7 @@ export default class StatusBarWidget { _defaultColor: string | vscode.ThemeColor | null; _options: Options; - _spinner = Spinner(); + _spinner: () => string = Spinner(); _spinnerTimeoutID: ?TimeoutID; state: State = { @@ -167,12 +167,12 @@ export default class StatusBarWidget { this._item.dispose(); } - _isServerBusy() { + _isServerBusy(): null | boolean { const { status } = this.state; return status && status.state !== 'idle'; } - _getSpinner = () => { + _getSpinner: () => string = () => { // using setTimeout to animate spinner this._clearSpinnerTimeout(); this._spinnerTimeoutID = setTimeout(() => this.render(), 100); diff --git a/lib/flowLSP/handlers.js b/lib/flowLSP/handlers.js index 5095d02..eb9dc9d 100644 --- a/lib/flowLSP/handlers.js +++ b/lib/flowLSP/handlers.js @@ -152,7 +152,7 @@ export function onDidRemoveWorkspaceFolders( export function onDidChangeConfiguration() { // @todo instead of asking user to restart vscode // handle different config change cases. In most cases - // we dont need to restart vscode. + // we don't need to restart vscode. vscode.window .showInformationMessage( 'Flow settings changed, reload vscode to apply changes.', diff --git a/lib/flowLSP/utils/LanguageClient/ConfigureCompletionSnippetSupport.js b/lib/flowLSP/utils/LanguageClient/ConfigureCompletionSnippetSupport.js index 28541ff..6675832 100644 --- a/lib/flowLSP/utils/LanguageClient/ConfigureCompletionSnippetSupport.js +++ b/lib/flowLSP/utils/LanguageClient/ConfigureCompletionSnippetSupport.js @@ -8,8 +8,9 @@ type DynamicFeature = lsp.DynamicFeature; class ConfigureCompletionSnippetSupport implements DynamicFeature { _enableSnippetSupport: boolean; - messages = []; + messages: Array = []; + // $FlowExpectedError[cannot-implement] you can't do `interface ILanguageClient extends lsp.LanguageClient {` in types.js constructor(client: ILanguageClient) { const { initializationOptions } = client.clientOptions; this._enableSnippetSupport = initializationOptions diff --git a/lib/flowLSP/utils/LanguageClient/StatusFeature/Status.js b/lib/flowLSP/utils/LanguageClient/StatusFeature/Status.js index 1916d7d..2ae3922 100644 --- a/lib/flowLSP/utils/LanguageClient/StatusFeature/Status.js +++ b/lib/flowLSP/utils/LanguageClient/StatusFeature/Status.js @@ -68,7 +68,10 @@ export default class Status { } } - _createActions(statusID: ?string, statusButtons: Array) { + _createActions( + statusID: ?string, + statusButtons: Array, + ): Array { return statusButtons.map((button) => ({ title: button, command: () => this._provider.clickAction(statusID || '', button), diff --git a/lib/flowLSP/utils/LanguageClient/StatusFeature/StatusFeature.js b/lib/flowLSP/utils/LanguageClient/StatusFeature/StatusFeature.js index 3829413..a1addc9 100644 --- a/lib/flowLSP/utils/LanguageClient/StatusFeature/StatusFeature.js +++ b/lib/flowLSP/utils/LanguageClient/StatusFeature/StatusFeature.js @@ -10,6 +10,7 @@ type StaticFeature = lsp.StaticFeature; export default class StatusFeature implements StaticFeature { _client: ILanguageClient; + // $FlowExpectedError[cannot-implement] you can't do `interface ILanguageClient extends lsp.LanguageClient {` in types.js constructor(client: ILanguageClient) { this._client = client; } diff --git a/lib/flowLSP/utils/LanguageClient/StatusFeature/StatusProvider.js b/lib/flowLSP/utils/LanguageClient/StatusFeature/StatusProvider.js index 6c5e417..36c9664 100644 --- a/lib/flowLSP/utils/LanguageClient/StatusFeature/StatusProvider.js +++ b/lib/flowLSP/utils/LanguageClient/StatusFeature/StatusProvider.js @@ -53,7 +53,7 @@ export default class StatusProvider { }; } - _showStatus(status: StatusData) { + _showStatus(status: StatusData): Promise { this._statusActionDeferred.resolve(null); this._statusActionDeferred = new Defer(); @@ -80,14 +80,16 @@ export default class StatusProvider { return this._statusActionDeferred.promise; } - _updateStatus = (status: StatusData) => { + _updateStatus: (status: StatusData) => void = (status) => { this._listeners.forEach((listener) => { listener(status); }); }; - _handleShowStatusRequest = ( + _handleShowStatusRequest: ( params: ShowStatusParams, + ) => Promise = ( + params, // token: any, ): Promise => { const actions = params.actions || []; diff --git a/lib/flowLSP/utils/LanguageClient/TypeCoverageFeature/TypeCoverage.js b/lib/flowLSP/utils/LanguageClient/TypeCoverageFeature/TypeCoverage.js index 112a725..2f7367e 100644 --- a/lib/flowLSP/utils/LanguageClient/TypeCoverageFeature/TypeCoverage.js +++ b/lib/flowLSP/utils/LanguageClient/TypeCoverageFeature/TypeCoverage.js @@ -141,7 +141,9 @@ export default class TypeCoverage { this.render(); } - _handleConnectionStatus = (params: { isConnected: boolean }) => { + _handleConnectionStatus: (params: { + isConnected: boolean, + }) => void = (params) => { this._setState({ isConnected: params.isConnected }); if (params.isConnected && vscode.window.activeTextEditor) { this._computeCoverage(vscode.window.activeTextEditor.document); diff --git a/lib/flowLSP/utils/LanguageClient/TypeCoverageFeature/TypeCoverageFeature.js b/lib/flowLSP/utils/LanguageClient/TypeCoverageFeature/TypeCoverageFeature.js index af54aaf..2521127 100644 --- a/lib/flowLSP/utils/LanguageClient/TypeCoverageFeature/TypeCoverageFeature.js +++ b/lib/flowLSP/utils/LanguageClient/TypeCoverageFeature/TypeCoverageFeature.js @@ -13,6 +13,7 @@ import TypeCoverageProvider, { export default class TypeCoverageFeature extends lsp.TextDocumentFeature { +_client: ILanguageClient; + // $FlowExpectedError[cannot-implement] you can't do `interface ILanguageClient extends lsp.LanguageClient {` in types.js constructor(client: ILanguageClient) { super(client, TypeCoverageRequest.type); this._client = client; diff --git a/lib/flowLSP/utils/LanguageClient/TypeCoverageFeature/TypeCoverageProvider.js b/lib/flowLSP/utils/LanguageClient/TypeCoverageFeature/TypeCoverageProvider.js index ac5cb1b..fe73b74 100644 --- a/lib/flowLSP/utils/LanguageClient/TypeCoverageFeature/TypeCoverageProvider.js +++ b/lib/flowLSP/utils/LanguageClient/TypeCoverageFeature/TypeCoverageProvider.js @@ -9,12 +9,17 @@ import { import { type ILanguageClient } from '../types'; export const TypeCoverageRequest = { - type: new lsp.RequestType< + type: (new lsp.RequestType< TypeCoverageParams, TypeCoverageResult | void, void, lsp.TextDocumentRegistrationOptions, - >('textDocument/typeCoverage'), + >('textDocument/typeCoverage'): lsp.RequestType< + TypeCoverageParams, + TypeCoverageResult | void, + void, + lsp.TextDocumentRegistrationOptions, + >), }; const ConnectionStatusNotification = { @@ -37,9 +42,9 @@ export default class TypeCoverageProvider { ); } - onConnectionStatus = ( + onConnectionStatus: ( listener: ConnectionStatusListener, - ): vscode.IDisposable => { + ) => vscode.IDisposable = (listener) => { this._listeners.push(listener); // dispose return { @@ -54,18 +59,18 @@ export default class TypeCoverageProvider { }; }; - provideTypeCoverage = ( + provideTypeCoverage: ( document: vscode.TextDocument, - ): vscode.ProviderResult => { + ) => vscode.ProviderResult = (document) => { const { middleware } = this._client.clientOptions; return middleware && middleware.provideTypeCoverage ? middleware.provideTypeCoverage(document, this._provideTypeCoverage) : this._provideTypeCoverage(document); }; - _provideTypeCoverage = ( + _provideTypeCoverage: ( document: vscode.TextDocument, - ): vscode.ProviderResult => { + ) => vscode.ProviderResult = (document) => { const client = this._client; return client @@ -83,7 +88,9 @@ export default class TypeCoverageProvider { ); }; - _handleConnectionStatus = (params: ConnectionStatusParams) => { + _handleConnectionStatus: (params: ConnectionStatusParams) => void = ( + params, + ) => { this._listeners.forEach((listener) => { listener(params); }); diff --git a/lib/flowLSP/utils/importFresh.js b/lib/flowLSP/utils/importFresh.js index 445691b..2619036 100644 --- a/lib/flowLSP/utils/importFresh.js +++ b/lib/flowLSP/utils/importFresh.js @@ -4,7 +4,7 @@ // in our use case we are using importFresh (for now) to load flow-bin node_module // which internally requires package.json file to load version. -export default function importFresh(moduleId: string) { +export default function importFresh(moduleId: string): any { Object.keys(require.cache).forEach((filePath) => { if (filePath.startsWith(moduleId)) { // NOTE: previously using clearModule but clearModule diff --git a/lib/flowNonLSP/flowCoverage.js b/lib/flowNonLSP/flowCoverage.js index 8fc4e2a..307cdef 100644 --- a/lib/flowNonLSP/flowCoverage.js +++ b/lib/flowNonLSP/flowCoverage.js @@ -26,7 +26,7 @@ export class Coverage { coverageStatus: StatusBarItem; state: State; - static createStatusBarItem() { + static createStatusBarItem(): StatusBarItem { const coverageStatus = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left); coverageStatus.tooltip = 'Flow type coverage. Click to toggle uncovered code'; coverageStatus.command = 'flow.show-coverage'; @@ -82,7 +82,7 @@ export class Coverage { } } - async render() { + async render(): Promise { const { uri } = this.state; if (!uri) { return null; diff --git a/lib/flowNonLSP/flowStatus.js b/lib/flowNonLSP/flowStatus.js index c61c953..7d1f518 100644 --- a/lib/flowNonLSP/flowStatus.js +++ b/lib/flowNonLSP/flowStatus.js @@ -18,7 +18,7 @@ export class Status { state:?{id:IntervalID} static spin:() => string = Spinner() - static createStatusBarItem() { + static createStatusBarItem(): StatusBarItem { const statusBarItem = window.createStatusBarItem(StatusBarAlignment.Left); statusBarItem.tooltip = 'Flow is type checking'; statusBarItem.command = 'flow.show-output'; @@ -30,7 +30,7 @@ export class Status { constructor() { this.statusBarItem = Status.createStatusBarItem(); } - isBusy() { + isBusy(): boolean { return this.state != null } idle() { diff --git a/lib/flowNonLSP/pkg/commons-node/BatchProcessedQueue.js b/lib/flowNonLSP/pkg/commons-node/BatchProcessedQueue.js index f2cd877..79db7e0 100644 --- a/lib/flowNonLSP/pkg/commons-node/BatchProcessedQueue.js +++ b/lib/flowNonLSP/pkg/commons-node/BatchProcessedQueue.js @@ -15,7 +15,7 @@ export type BatchHandler = (batch: Array) => void; export default class BatchProcessedQueue { _batchPeriod: number; _handler: BatchHandler; - _timeoutId: ?number; + _timeoutId: ?TimeoutID; _items: Array; constructor(batchPeriod: number, handler: BatchHandler) { diff --git a/lib/flowNonLSP/pkg/commons-node/ScribeProcess.js b/lib/flowNonLSP/pkg/commons-node/ScribeProcess.js index b0553cb..8b0a5e9 100644 --- a/lib/flowNonLSP/pkg/commons-node/ScribeProcess.js +++ b/lib/flowNonLSP/pkg/commons-node/ScribeProcess.js @@ -44,6 +44,7 @@ export default class ScribeProcess { * Ensure newlines are properly escaped. */ async write(message: string): Promise { + // $FlowExpectedError[incompatible-call] const child = await this._getOrCreateChildProcess(); return new Promise((resolve, reject) => { child.stdin.write(`${message}${os.EOL}`, resolve); diff --git a/lib/flowNonLSP/pkg/commons-node/collection.js b/lib/flowNonLSP/pkg/commons-node/collection.js index 8c0624d..26aff02 100644 --- a/lib/flowNonLSP/pkg/commons-node/collection.js +++ b/lib/flowNonLSP/pkg/commons-node/collection.js @@ -71,7 +71,7 @@ export function mapFilter( export function mapEqual( map1: Map, map2: Map, -) { +): boolean { if (map1.size !== map2.size) { return false; } @@ -104,7 +104,7 @@ export function isEmpty(obj: Object): boolean { * * Based off the equivalent function in www. */ -export function keyMirror(obj: T): {[key: $Enum]: $Enum} { +export function keyMirror(obj: T): {[key: $Keys]: $Keys} { const ret = {}; Object.keys(obj).forEach(key => { ret[key] = key; diff --git a/lib/flowNonLSP/pkg/commons-node/event.js b/lib/flowNonLSP/pkg/commons-node/event.js index 15f26d3..a5b7549 100644 --- a/lib/flowNonLSP/pkg/commons-node/event.js +++ b/lib/flowNonLSP/pkg/commons-node/event.js @@ -20,7 +20,7 @@ export function attachEvent( emitter: events$EventEmitter, eventName: string, callback: Function, -): Disposable { +): typeof Disposable { emitter.addListener(eventName, callback); return new Disposable(() => { emitter.removeListener(eventName, callback); @@ -28,7 +28,7 @@ export function attachEvent( } type SubscribeCallback = (item: T) => any; -type SubscribeFunction = (callback: SubscribeCallback) => atom$IDisposable; +type SubscribeFunction = (callback: SubscribeCallback) => any; export function observableFromSubscribeFunction(fn: SubscribeFunction): Observable { return Observable.create(observer => { diff --git a/lib/flowNonLSP/pkg/commons-node/fsPromise.js b/lib/flowNonLSP/pkg/commons-node/fsPromise.js index 706282b..12eabf3 100644 --- a/lib/flowNonLSP/pkg/commons-node/fsPromise.js +++ b/lib/flowNonLSP/pkg/commons-node/fsPromise.js @@ -206,18 +206,18 @@ export default { rmdir, isNfs, - copy: _denodeifyFsMethod('copy'), - chmod: _denodeifyFsMethod('chmod'), - lstat: _denodeifyFsMethod('lstat'), - mkdir: _denodeifyFsMethod('mkdir'), - readdir: _denodeifyFsMethod('readdir'), - readFile: _denodeifyFsMethod('readFile'), - readlink: _denodeifyFsMethod('readlink'), - realpath: _denodeifyFsMethod('realpath'), - rename: _denodeifyFsMethod('rename'), - move: _denodeifyFsMethod('move'), - stat: _denodeifyFsMethod('stat'), - symlink: _denodeifyFsMethod('symlink'), - unlink: _denodeifyFsMethod('unlink'), - writeFile: _denodeifyFsMethod('writeFile'), + copy: (_denodeifyFsMethod('copy'): () => Promise), + chmod: (_denodeifyFsMethod('chmod'): () => Promise), + lstat: (_denodeifyFsMethod('lstat'): () => Promise), + mkdir: (_denodeifyFsMethod('mkdir'): () => Promise), + readdir: (_denodeifyFsMethod('readdir'): () => Promise), + readFile: (_denodeifyFsMethod('readFile'): () => Promise), + readlink: (_denodeifyFsMethod('readlink'): () => Promise), + realpath: (_denodeifyFsMethod('realpath'): () => Promise), + rename: (_denodeifyFsMethod('rename'): () => Promise), + move: (_denodeifyFsMethod('move'): () => Promise), + stat: (_denodeifyFsMethod('stat'): () => Promise), + symlink: (_denodeifyFsMethod('symlink'): () => Promise), + unlink: (_denodeifyFsMethod('unlink'): () => Promise), + writeFile: (_denodeifyFsMethod('writeFile'): () => Promise), }; diff --git a/lib/flowNonLSP/pkg/commons-node/process.js b/lib/flowNonLSP/pkg/commons-node/process.js index 0a19b1a..4668156 100644 --- a/lib/flowNonLSP/pkg/commons-node/process.js +++ b/lib/flowNonLSP/pkg/commons-node/process.js @@ -112,7 +112,7 @@ const COMMON_BINARY_PATHS = ['/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/loc * * PATH="/usr/bin"; export PATH; */ -const DARWIN_PATH_HELPER_REGEXP = /PATH="([^"]+)"/; +const DARWIN_PATH_HELPER_REGEXP: RegExp = /PATH="([^"]+)"/; const STREAM_NAMES = ['stdin', 'stdout', 'stderr']; @@ -305,12 +305,12 @@ export function scriptSafeSpawnAndObserveOutput( }); let stderr = ''; - childProcess.stderr.on('data', data => { + childProcess && childProcess.stderr.on('data', data => { stderr += data; observer.next({stderr: data.toString()}); }); - childProcess.on('exit', (exitCode: number) => { + childProcess && childProcess.on('exit', (exitCode: number) => { if (exitCode !== 0) { observer.error(stderr); } else { @@ -455,7 +455,7 @@ export function asyncExecute( options: ?AsyncExecuteOptions = {}, ): Promise { // Clone passed in options so this function doesn't modify an object it doesn't own. - const localOptions = {...options}; + const localOptions: AsyncExecuteOptions = {...options}; const executor = (resolve, reject) => { let firstChild; @@ -519,7 +519,7 @@ export function asyncExecute( lastChild.kill(); resolve({ command: [command].concat(args).join(' '), - errorMessage: `Exceeded timeout of ${localOptions.timeout}ms`, + errorMessage: `Exceeded timeout of ${localOptions.timeout || ''}ms`, errorCode: 'ETIMEDOUT', stderr, stdout, @@ -581,7 +581,7 @@ export function asyncExecute( return new Promise(executor); } else { if (!blockingQueues[localOptions.queueName]) { - blockingQueues[localOptions.queueName] = new PromiseQueue(); + blockingQueues[localOptions.queueName || ''] = new PromiseQueue(); } return blockingQueues[localOptions.queueName].submit(executor); } diff --git a/lib/flowNonLSP/pkg/commons-node/promise-executors.js b/lib/flowNonLSP/pkg/commons-node/promise-executors.js index 8bab00a..9d50f00 100644 --- a/lib/flowNonLSP/pkg/commons-node/promise-executors.js +++ b/lib/flowNonLSP/pkg/commons-node/promise-executors.js @@ -22,7 +22,7 @@ type Executor = (resolve: any, reject: any) => any; * control the number of concurrent executions. */ export class PromisePool { - _fifo: Dequeue; + _fifo: typeof Dequeue; _emitter: EventEmitter; _numPromisesRunning: number; _poolSize: number; diff --git a/lib/flowNonLSP/pkg/commons-node/stream.js b/lib/flowNonLSP/pkg/commons-node/stream.js index 0b95cbc..c316f57 100644 --- a/lib/flowNonLSP/pkg/commons-node/stream.js +++ b/lib/flowNonLSP/pkg/commons-node/stream.js @@ -57,9 +57,9 @@ export function splitStream(input: Observable): Observable { } export class DisposableSubscription { - _subscription: rx$ISubscription; + _subscription: Subscription; - constructor(subscription: rx$ISubscription) { + constructor(subscription: Subscription) { this._subscription = subscription; } @@ -68,7 +68,7 @@ export class DisposableSubscription { } } -type TeardownLogic = (() => void) | rx$ISubscription; +type TeardownLogic = (() => void) | Subscription; export class CompositeSubscription { _subscription: Subscription; @@ -188,8 +188,8 @@ export function diffSets(stream: Observable>): Observable> { */ export function reconcileSetDiffs( diffs: Observable>, - addAction: (addedItem: T) => atom$IDisposable, -): atom$IDisposable { + addAction: (addedItem: T) => any, +): any { const itemsToDisposables = new Map(); const disposeItem = item => { const disposable = itemsToDisposables.get(item); diff --git a/lib/flowNonLSP/pkg/commons-node/system-info.js b/lib/flowNonLSP/pkg/commons-node/system-info.js index 4a7055c..c9c2b29 100644 --- a/lib/flowNonLSP/pkg/commons-node/system-info.js +++ b/lib/flowNonLSP/pkg/commons-node/system-info.js @@ -30,7 +30,7 @@ export const OS_TYPE = { // "Development" is defined as working from source - not packaged code. // apm/npm and internal releases don't package the base `.flowconfig`, so // we use this to figure if we're packaged or not. -export const isDevelopment = once((): boolean => { +export const isDevelopment: (() => boolean) = once(() => { try { fs.statSync(nuclideUri.join(NUCLIDE_BASEDIR, '.flowconfig')); return true; @@ -47,16 +47,16 @@ export const isDevelopment = once((): boolean => { // ensures happens only once. // // [1]: https://github.com/atom/atom/blob/v1.6.2/src/window-load-settings-helpers.coffee#L10-L14 -export const isRunningInTest = once((): boolean => { +export const isRunningInTest: (() => boolean) = once(() => { if (isRunningInClient()) { - return atom.inSpecMode(); + return global.atom.inSpecMode(); } else { return process.env.NODE_ENV === 'test'; } }); export function isRunningInClient(): boolean { - return typeof atom !== 'undefined'; + return typeof global.atom !== 'undefined'; } // This path may be a symlink. @@ -64,7 +64,7 @@ export function getAtomNuclideDir(): string { if (!isRunningInClient()) { throw Error('Not running in Atom.'); } - const nuclidePackageModule = atom.packages.getLoadedPackage('nuclide'); + const nuclidePackageModule = global.atom.packages.getLoadedPackage('nuclide'); invariant(nuclidePackageModule); return nuclidePackageModule.path; } @@ -73,7 +73,7 @@ export function getAtomVersion(): string { if (!isRunningInClient()) { throw Error('Not running in Atom.'); } - return atom.getVersion(); + return global.atom.getVersion(); } export function getNuclideVersion(): string { @@ -115,6 +115,7 @@ export function getRuntimePath(): string { // Linux: "/usr/share/atom/resources" // Windows: "C:\\Users\\asuarez\\AppData\\Local\\atom\\app-1.6.2\\resources" // "C:\Atom\resources" + // $FlowExpectedError[prop-missing] process.resourcePath missing if (global.atom && typeof process.resourcesPath === 'string') { const resourcesPath = process.resourcesPath; if (os.platform() === 'darwin') { diff --git a/lib/flowNonLSP/pkg/flow-base/lib/FlowProcess.js b/lib/flowNonLSP/pkg/flow-base/lib/FlowProcess.js index f98085a..e96f69a 100644 --- a/lib/flowNonLSP/pkg/flow-base/lib/FlowProcess.js +++ b/lib/flowNonLSP/pkg/flow-base/lib/FlowProcess.js @@ -308,6 +308,7 @@ export class FlowProcess { _getFlowExecOptions(): {cwd: string} { return { cwd: this._root, + // $FlowExpectedError[cannot-spread-indexer] env: { // Allows backtrace to be printed: // http://caml.inria.fr/pub/docs/manual-ocaml/runtime.html#sec279 diff --git a/lib/flowNonLSP/pkg/flow-base/lib/astToOutline.js b/lib/flowNonLSP/pkg/flow-base/lib/astToOutline.js index c014849..f931695 100644 --- a/lib/flowNonLSP/pkg/flow-base/lib/astToOutline.js +++ b/lib/flowNonLSP/pkg/flow-base/lib/astToOutline.js @@ -23,12 +23,16 @@ import { // This is to work around a Flow parser bug. type as type, } from '../../nuclide-tokenized-text/lib/main'; +import { type TextToken } from './FlowService'; import invariant from 'assert'; type Extent = { startPosition: Point; endPosition: Point; + tokenizedText?: Array; + children?: Array; + representativeName?: any, }; export function astToOutline(ast: any): Array { diff --git a/lib/flowNonLSP/utils/getLogger.js b/lib/flowNonLSP/utils/getLogger.js index 42180e1..85609cd 100644 --- a/lib/flowNonLSP/utils/getLogger.js +++ b/lib/flowNonLSP/utils/getLogger.js @@ -1,13 +1,13 @@ /* @flow */ import getOutputChannel from './getOutputChannel'; import { workspace } from 'vscode'; -import Logger from '../../common/Logger'; +import Logger, { type LogLevel } from '../../common/Logger'; -export function getLogLevel() { +export function getLogLevel(): LogLevel { return workspace.getConfiguration('flow').get('logLevel'); } -export default function getLogger() { +export default function getLogger(): Logger { console.log(getLogLevel()); return new Logger( '', diff --git a/lib/flowNonLSP/utils/getOutputChannel.js b/lib/flowNonLSP/utils/getOutputChannel.js index 762a0fa..ed39bc4 100644 --- a/lib/flowNonLSP/utils/getOutputChannel.js +++ b/lib/flowNonLSP/utils/getOutputChannel.js @@ -1,7 +1,7 @@ /* @flow */ import * as vscode from 'vscode'; -export default function getOutputChannel() { +export default function getOutputChannel(): vscode.OutputChannel { if (global.flowOutputChannel) { return global.flowOutputChannel; } @@ -9,4 +9,4 @@ export default function getOutputChannel() { vscode.commands.registerCommand('flow.show-output', () => channel.show()); global.flowOutputChannel = channel; return channel; -} \ No newline at end of file +} diff --git a/lib/flowNonLSP/utils/util.js b/lib/flowNonLSP/utils/util.js index 1e38906..ec08024 100644 --- a/lib/flowNonLSP/utils/util.js +++ b/lib/flowNonLSP/utils/util.js @@ -15,7 +15,7 @@ import { const NODE_NOT_FOUND = '[Flow] Cannot find node in PATH. The simplest way to resolve it is install node globally' const FLOW_NOT_FOUND = '[Flow] Cannot find flow in PATH. Try to install it by npm install flow-bin -g' -export function isFlowEnabled() { +export function isFlowEnabled(): boolean { return workspace.getConfiguration('flow').get('enabled') } @@ -55,7 +55,7 @@ export function toURI(path:string):Uri { return Uri.file(path) } -export function hasFlowPragma(content:string) { +export function hasFlowPragma(content:string): boolean { if (shouldRunOnAllFiles()) return true return /^\s*(\/*\*+|\/\/)\s*@flow/m.test(content); } diff --git a/package.json b/package.json index 4f86543..2e91446 100644 --- a/package.json +++ b/package.json @@ -1,260 +1,260 @@ { - "name": "flow-for-vscode", - "version": "1.5.0", - "publisher": "flowtype", - "description": "Flow support for VS Code", - "displayName": "Flow Language Support", - "keywords": [ - "multi-root ready" - ], - "engines": { - "vscode": "^1.30.0" - }, - "categories": [ - "Programming Languages", - "Linters" - ], - "private": true, - "activationEvents": [ - "onLanguage:javascript", - "onLanguage:javascriptreact", - "workspaceContains:**/.flowconfig" - ], - "main": "./build/index.js", - "contributes": { - "configuration": { - "type": "object", - "title": "Flow Configurations", - "properties": { - "flow.enabled": { - "scope": "resource", - "type": "boolean", - "default": true, - "description": "Is flow enabled" - }, - "flow.useNPMPackagedFlow": { - "scope": "resource", - "type": "boolean", - "default": true, - "description": "Support using flow through your node_modules folder, WARNING: Checking this box is a security risk. When you open a project we will immediately run code contained within it." - }, - "flow.pathToFlow": { - "scope": "resource", - "type": "string", - "default": "flow", - "description": "Absolute path to flow binary. Special var ${workspaceFolder} or ${flowconfigDir} can be used in path (NOTE: in windows you can use '/' and can omit '.cmd' in path)" - }, - "flow.useBundledFlow": { - "scope": "resource", - "type": "boolean", - "default": true, - "description": "If true will use flow bundled with this plugin if nothing works" - }, - "flow.showUncovered": { - "scope": "resource", - "type": "boolean", - "default": false, - "description": "If true will show uncovered code by default" - }, - "flow.coverageSeverity": { - "scope": "resource", - "type": "string", - "enum": [ - "error", - "warn", - "info" - ], - "default": "info", - "description": "Type coverage diagnostic severity" - }, - "flow.lazyMode": { - "scope": "resource", - "type": "string", - "default": null, - "description": "Set value to enable flow lazy mode" - }, - "flow.stopFlowOnExit": { - "scope": "resource", - "type": "boolean", - "default": true, - "description": "Stop Flow on Exit" - }, - "flow.useCodeSnippetOnFunctionSuggest": { - "scope": "resource", - "type": "boolean", - "default": true, - "description": "Complete functions with their parameter signature." - }, - "flow.useLSP": { - "scope": "window", - "type": "boolean", - "default": true, - "description": "Turn off to switch from the official Flow Language Server implementation to talking directly to flow." - }, - "flow.logLevel": { - "scope": "resource", - "type": "string", - "enum": [ - "error", - "warn", - "info", - "trace" - ], - "default": "info", - "description": "Log level for output panel logs" - }, - "flow.trace.server": { - "scope": "window", - "anyOf": [ - { - "type": "string", - "enum": [ - "off", - "messages", - "verbose" - ], - "default": "off" - } - ], - "default": "off", - "description": "Traces the communication between VSCode and the flow lsp service." - }, - "flow.fileExtensions": { - "scope": "resource", - "type": "array", - "default": [ - ".js", - ".mjs", - ".jsx", - ".flow", - ".json" - ], - "description": "(Supported only when useLSP: false). File extensions to consider for flow processing", - "items": { - "type": "string" - } - }, - "flow.runOnEdit": { - "scope": "resource", - "type": "boolean", - "default": true, - "description": "If true will run flow on every edit, otherwise will run only when changes are saved (Note: 'useLSP: true' only supports syntax errors)" - }, - "flow.runOnAllFiles": { - "scope": "resource", - "type": "boolean", - "default": false, - "description": "(Supported only when useLSP: false) Run Flow on all files, No need to put //@flow comment on top of files." - }, - "flow.showStatus": { - "scope": "resource", - "type": "boolean", - "default": true, - "description": "(Supported only when useLSP: false) If true will display flow status is the statusbar" - } - } - }, - "commands": [ - { - "title": "Toggle display of uncovered areas", - "category": "Flow", - "command": "flow.toggleCoverage" - }, - { - "title": "Show Client Status", - "category": "Flow", - "command": "flow.showStatus" - }, - { - "title": "Restart Client", - "category": "Flow", - "command": "flow.restartClient" - }, - { - "title": "Log Client Debug Info", - "category": "Flow", - "command": "flow.logClientDebugInfo" - }, - { - "title": "Show Output Channel", - "category": "Flow", - "command": "flow.showOutputChannel" - } - ], - "languages": [ - { - "id": "javascript", - "aliases": [ - "JavaScript", - "js" - ], - "filenamePatterns": [ - "*.js.flow" - ] - }, - { - "id": "ini", - "filenames": [ - ".flowconfig" - ] - } - ] - }, - "scripts": { - "vscode:prepublish": "env NODE_ENV=production yarn build", - "compile": "yarn build --watch", - "build": "rm -rf build && rollup -c rollup.config.js", - "test": "flow check && yarn lint && yarn testonly", - "testonly": "env NODE_ENV=test jest", - "lint": "eslint lib --report-unused-disable-directives" - }, - "dependencies": { - "bin-version": "4.0.0", - "cross-spawn": "^6.0.5", - "dequeue": "^1.0.5", - "elegant-spinner": "^1.0.1", - "event-kit": "^2.5.3", - "flow-bin": "^0.107.0", - "fs-plus": "^3.1.1", - "fuzzaldrin": "^2.1.0", - "lodash.debounce": "^4.0.8", - "lru-cache": "^4.0.1", - "mkdirp": "^0.5.1", - "prettier": "1.18.2", - "rimraf": "^2.5.4", - "rxjs": "^5.0.0-beta.8", - "semver": "^6.3.0", - "shell-quote": "^1.6.0", - "temp": "^0.9.0", - "vscode-languageclient": "^5.2.1", - "which": "1.3.1" - }, - "devDependencies": { - "@babel/cli": "^7.6.0", - "@babel/core": "^7.6.0", - "@babel/plugin-proposal-class-properties": "^7.5.5", - "@babel/preset-env": "^7.6.0", - "@babel/preset-flow": "^7.0.0", - "babel-jest": "24.9.0", - "builtin-modules": "3.1.0", - "eslint": "6.3.0", - "eslint-plugin-import": "2.18.2", - "eslint-plugin-playlyfe": "7.0.1", - "jest": "24.9.0", - "rollup": "1.21.2", - "rollup-plugin-babel": "4.3.3", - "rollup-plugin-commonjs": "10.1.0", - "rollup-plugin-node-resolve": "5.2.0", - "rollup-plugin-progress": "1.1.1", - "rollup-plugin-terser": "5.1.1", - "vscode-uri": "2.0.3" - }, - "icon": "flow-logo.png", - "repository": { - "type": "git", - "url": "https://github.com/flowtype/flow-for-vscode.git" - }, - "bugs": { - "url": "https://github.com/flowtype/flow-for-vscode/issues" - } + "name": "flow-for-vscode", + "version": "1.5.0", + "publisher": "flowtype", + "description": "Flow support for VS Code", + "displayName": "Flow Language Support", + "keywords": [ + "multi-root ready" + ], + "engines": { + "vscode": "^1.30.0" + }, + "categories": [ + "Programming Languages", + "Linters" + ], + "private": true, + "activationEvents": [ + "onLanguage:javascript", + "onLanguage:javascriptreact", + "workspaceContains:**/.flowconfig" + ], + "main": "./build/index.js", + "contributes": { + "configuration": { + "type": "object", + "title": "Flow Configurations", + "properties": { + "flow.enabled": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Is flow enabled" + }, + "flow.useNPMPackagedFlow": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Support using flow through your node_modules folder, WARNING: Checking this box is a security risk. When you open a project we will immediately run code contained within it." + }, + "flow.pathToFlow": { + "scope": "resource", + "type": "string", + "default": "flow", + "description": "Absolute path to flow binary. Special var ${workspaceFolder} or ${flowconfigDir} can be used in path (NOTE: in windows you can use '/' and can omit '.cmd' in path)" + }, + "flow.useBundledFlow": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "If true will use flow bundled with this plugin if nothing works" + }, + "flow.showUncovered": { + "scope": "resource", + "type": "boolean", + "default": false, + "description": "If true will show uncovered code by default" + }, + "flow.coverageSeverity": { + "scope": "resource", + "type": "string", + "enum": [ + "error", + "warn", + "info" + ], + "default": "info", + "description": "Type coverage diagnostic severity" + }, + "flow.lazyMode": { + "scope": "resource", + "type": "string", + "default": null, + "description": "Set value to enable flow lazy mode" + }, + "flow.stopFlowOnExit": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Stop Flow on Exit" + }, + "flow.useCodeSnippetOnFunctionSuggest": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Complete functions with their parameter signature." + }, + "flow.useLSP": { + "scope": "window", + "type": "boolean", + "default": true, + "description": "Turn off to switch from the official Flow Language Server implementation to talking directly to flow." + }, + "flow.logLevel": { + "scope": "resource", + "type": "string", + "enum": [ + "error", + "warn", + "info", + "trace" + ], + "default": "info", + "description": "Log level for output panel logs" + }, + "flow.trace.server": { + "scope": "window", + "anyOf": [ + { + "type": "string", + "enum": [ + "off", + "messages", + "verbose" + ], + "default": "off" + } + ], + "default": "off", + "description": "Traces the communication between VSCode and the flow lsp service." + }, + "flow.fileExtensions": { + "scope": "resource", + "type": "array", + "default": [ + ".js", + ".mjs", + ".jsx", + ".flow", + ".json" + ], + "description": "(Supported only when useLSP: false). File extensions to consider for flow processing", + "items": { + "type": "string" + } + }, + "flow.runOnEdit": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "If true will run flow on every edit, otherwise will run only when changes are saved (Note: 'useLSP: true' only supports syntax errors)" + }, + "flow.runOnAllFiles": { + "scope": "resource", + "type": "boolean", + "default": false, + "description": "(Supported only when useLSP: false) Run Flow on all files, No need to put //@flow comment on top of files." + }, + "flow.showStatus": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "(Supported only when useLSP: false) If true will display flow status is the statusbar" + } + } + }, + "commands": [ + { + "title": "Toggle display of uncovered areas", + "category": "Flow", + "command": "flow.toggleCoverage" + }, + { + "title": "Show Client Status", + "category": "Flow", + "command": "flow.showStatus" + }, + { + "title": "Restart Client", + "category": "Flow", + "command": "flow.restartClient" + }, + { + "title": "Log Client Debug Info", + "category": "Flow", + "command": "flow.logClientDebugInfo" + }, + { + "title": "Show Output Channel", + "category": "Flow", + "command": "flow.showOutputChannel" + } + ], + "languages": [ + { + "id": "javascript", + "aliases": [ + "JavaScript", + "js" + ], + "filenamePatterns": [ + "*.js.flow" + ] + }, + { + "id": "ini", + "filenames": [ + ".flowconfig" + ] + } + ] + }, + "scripts": { + "vscode:prepublish": "env NODE_ENV=production yarn build", + "compile": "yarn build --watch", + "build": "rm -rf build && rollup -c rollup.config.js", + "test": "flow check && yarn lint && yarn testonly", + "testonly": "env NODE_ENV=test jest", + "lint": "eslint lib --report-unused-disable-directives" + }, + "dependencies": { + "bin-version": "4.0.0", + "cross-spawn": "^6.0.5", + "dequeue": "^1.0.5", + "elegant-spinner": "^1.0.1", + "event-kit": "^2.5.3", + "flow-bin": "^0.146.0", + "fs-plus": "^3.1.1", + "fuzzaldrin": "^2.1.0", + "lodash.debounce": "^4.0.8", + "lru-cache": "^4.0.1", + "mkdirp": "^0.5.1", + "prettier": "1.18.2", + "rimraf": "^2.5.4", + "rxjs": "^5.0.0-beta.8", + "semver": "^6.3.0", + "shell-quote": "^1.6.0", + "temp": "^0.9.0", + "vscode-languageclient": "^5.2.1", + "which": "1.3.1" + }, + "devDependencies": { + "@babel/cli": "^7.6.0", + "@babel/core": "^7.6.0", + "@babel/plugin-proposal-class-properties": "^7.5.5", + "@babel/preset-env": "^7.6.0", + "@babel/preset-flow": "^7.0.0", + "babel-jest": "24.9.0", + "builtin-modules": "3.1.0", + "eslint": "6.3.0", + "eslint-plugin-import": "2.18.2", + "eslint-plugin-playlyfe": "7.0.1", + "jest": "24.9.0", + "rollup": "1.21.2", + "rollup-plugin-babel": "4.3.3", + "rollup-plugin-commonjs": "10.1.0", + "rollup-plugin-node-resolve": "5.2.0", + "rollup-plugin-progress": "1.1.1", + "rollup-plugin-terser": "5.1.1", + "vscode-uri": "2.0.3" + }, + "icon": "flow-logo.png", + "repository": { + "type": "git", + "url": "https://github.com/flowtype/flow-for-vscode.git" + }, + "bugs": { + "url": "https://github.com/flowtype/flow-for-vscode/issues" + } } diff --git a/playground/.eslintrc.js b/playground/.eslintrc.js new file mode 100644 index 0000000..f6d2fa9 --- /dev/null +++ b/playground/.eslintrc.js @@ -0,0 +1,5 @@ +module.exports = { + rules: { + 'playlyfe/flowtype-require-valid-file-annotation': 'off', + }, +}; diff --git a/yarn.lock b/yarn.lock index eddbe35..bcca2b0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2034,10 +2034,10 @@ flatted@^2.0.0: resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08" integrity sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg== -flow-bin@^0.107.0: - version "0.107.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.107.0.tgz#b37bfcce51204d35d58f8eb93b3a76b52291e4cc" - integrity sha512-hsmwO5Q0+XUXaO2kIKLpleUNNBSFcsGEQGBOTEC/KR/4Ez695I1fweX/ioSjbU4RWhPZhkIqnpbF9opVAauCHg== +flow-bin@^0.146.0: + version "0.146.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.146.0.tgz#fafa002663a0e13bf3c08c3972dd93d68289ccc6" + integrity sha512-TP8eCwltqc7fo6ad5klgsrZ2veZIK2qM1vHf1A/cnXTStPh8hLAz1cOXmlQIFZR/7fjSMI39TS3CgF6M/HUhAw== for-in@^1.0.2: version "1.0.2"