diff --git a/flow-typed/npm/@babel/cli_vx.x.x.js b/flow-typed/npm/@babel/cli_vx.x.x.js index 1992b29e..a81d56f3 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: 075f8105d56e7ff56843b0a0aaec48b5 -// flow-typed version: <>/@babel/cli_v^7.4.4/flow_v0.98.0 +// flow-typed signature: cc1d1a2ec09f3b899ef47a856742f08f +// flow-typed version: <>/@babel/cli_v^7.4.4/flow_v0.101.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 2193436d..7b41b6d2 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: c4c9a68ebcd82703d0bfedd66e1db1ff -// flow-typed version: <>/@babel/core_v^7.4.4/flow_v0.98.0 +// flow-typed signature: 2b173c73804c7b43d7d6c738802c5ad0 +// flow-typed version: <>/@babel/core_v^7.4.5/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/@babel/plugin-transform-runtime_vx.x.x.js b/flow-typed/npm/@babel/plugin-transform-runtime_vx.x.x.js index f9f98346..1898d616 100644 --- a/flow-typed/npm/@babel/plugin-transform-runtime_vx.x.x.js +++ b/flow-typed/npm/@babel/plugin-transform-runtime_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 0d3f49d66a9bb7cc136cfb644f0e4ae4 -// flow-typed version: <>/@babel/plugin-transform-runtime_v^7.4.4/flow_v0.98.0 +// flow-typed signature: fc3f45535d1387236a5fa25031c434e1 +// flow-typed version: <>/@babel/plugin-transform-runtime_v^7.4.4/flow_v0.101.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 ec932ab0..3fa2fd0f 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: 6c318ac31baccac16c158aa01e50aeb6 -// flow-typed version: <>/@babel/preset-env_v^7.4.4/flow_v0.98.0 +// flow-typed signature: 24548170611add19813d134b566d66d1 +// flow-typed version: <>/@babel/preset-env_v^7.4.5/flow_v0.101.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 efda986b..3648a8a3 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: 0f3b00d4cc4094e448c11074ee93d9ea -// flow-typed version: <>/@babel/preset-flow_v^7.0.0/flow_v0.98.0 +// flow-typed signature: 8f6e2f930870c67d675794ffc0d9b144 +// flow-typed version: <>/@babel/preset-flow_v^7.0.0/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/@babel/runtime_vx.x.x.js b/flow-typed/npm/@babel/runtime_vx.x.x.js index f1ccdee3..ea23125b 100644 --- a/flow-typed/npm/@babel/runtime_vx.x.x.js +++ b/flow-typed/npm/@babel/runtime_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 5232433ce33ca2d377750cffdd54ede3 -// flow-typed version: <>/@babel/runtime_v^7.4.4/flow_v0.98.0 +// flow-typed signature: 9e01724c2e66dfd3fae8ada8dc737b85 +// flow-typed version: <>/@babel/runtime_v^7.4.5/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-cli_vx.x.x.js b/flow-typed/npm/babel-cli_vx.x.x.js deleted file mode 100644 index d12639da..00000000 --- a/flow-typed/npm/babel-cli_vx.x.x.js +++ /dev/null @@ -1,108 +0,0 @@ -// flow-typed signature: 56c777d990e07e08785667de2a63eedc -// flow-typed version: <>/babel-cli_v^6.26.0/flow_v0.64.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'babel-cli' - * - * 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 'babel-cli' { - 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 'babel-cli/bin/babel-doctor' { - declare module.exports: any; -} - -declare module 'babel-cli/bin/babel-external-helpers' { - declare module.exports: any; -} - -declare module 'babel-cli/bin/babel-node' { - declare module.exports: any; -} - -declare module 'babel-cli/bin/babel' { - declare module.exports: any; -} - -declare module 'babel-cli/lib/_babel-node' { - declare module.exports: any; -} - -declare module 'babel-cli/lib/babel-external-helpers' { - declare module.exports: any; -} - -declare module 'babel-cli/lib/babel-node' { - declare module.exports: any; -} - -declare module 'babel-cli/lib/babel/dir' { - declare module.exports: any; -} - -declare module 'babel-cli/lib/babel/file' { - declare module.exports: any; -} - -declare module 'babel-cli/lib/babel/index' { - declare module.exports: any; -} - -declare module 'babel-cli/lib/babel/util' { - declare module.exports: any; -} - -// Filename aliases -declare module 'babel-cli/bin/babel-doctor.js' { - declare module.exports: $Exports<'babel-cli/bin/babel-doctor'>; -} -declare module 'babel-cli/bin/babel-external-helpers.js' { - declare module.exports: $Exports<'babel-cli/bin/babel-external-helpers'>; -} -declare module 'babel-cli/bin/babel-node.js' { - declare module.exports: $Exports<'babel-cli/bin/babel-node'>; -} -declare module 'babel-cli/bin/babel.js' { - declare module.exports: $Exports<'babel-cli/bin/babel'>; -} -declare module 'babel-cli/index' { - declare module.exports: $Exports<'babel-cli'>; -} -declare module 'babel-cli/index.js' { - declare module.exports: $Exports<'babel-cli'>; -} -declare module 'babel-cli/lib/_babel-node.js' { - declare module.exports: $Exports<'babel-cli/lib/_babel-node'>; -} -declare module 'babel-cli/lib/babel-external-helpers.js' { - declare module.exports: $Exports<'babel-cli/lib/babel-external-helpers'>; -} -declare module 'babel-cli/lib/babel-node.js' { - declare module.exports: $Exports<'babel-cli/lib/babel-node'>; -} -declare module 'babel-cli/lib/babel/dir.js' { - declare module.exports: $Exports<'babel-cli/lib/babel/dir'>; -} -declare module 'babel-cli/lib/babel/file.js' { - declare module.exports: $Exports<'babel-cli/lib/babel/file'>; -} -declare module 'babel-cli/lib/babel/index.js' { - declare module.exports: $Exports<'babel-cli/lib/babel/index'>; -} -declare module 'babel-cli/lib/babel/util.js' { - declare module.exports: $Exports<'babel-cli/lib/babel/util'>; -} diff --git a/flow-typed/npm/babel-core_vx.x.x.js b/flow-typed/npm/babel-core_vx.x.x.js deleted file mode 100644 index bbe310de..00000000 --- a/flow-typed/npm/babel-core_vx.x.x.js +++ /dev/null @@ -1,33 +0,0 @@ -// flow-typed signature: 3bbdba38fff432d0c4792a5fbf1dfe08 -// flow-typed version: <>/babel-core_v^7.0.0-bridge.0/flow_v0.79.1 - -/** - * This is an autogenerated libdef stub for: - * - * 'babel-core' - * - * 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 'babel-core' { - 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 'babel-core/index' { - declare module.exports: $Exports<'babel-core'>; -} -declare module 'babel-core/index.js' { - declare module.exports: $Exports<'babel-core'>; -} diff --git a/flow-typed/npm/babel-eslint_vx.x.x.js b/flow-typed/npm/babel-eslint_vx.x.x.js index e0e120e1..7e23a728 100644 --- a/flow-typed/npm/babel-eslint_vx.x.x.js +++ b/flow-typed/npm/babel-eslint_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: a8991fd2d574c790c1327b7237389285 -// flow-typed version: <>/babel-eslint_v^10.0.1/flow_v0.98.0 +// flow-typed signature: d999e8032009698035bfbb9b10988092 +// flow-typed version: <>/babel-eslint_v^10.0.1/flow_v0.101.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 409cfab1..4d965edc 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: 307a32ffdbcc7778ea69c24fd9c3579a -// flow-typed version: <>/babel-jest_v^24.7.1/flow_v0.98.0 +// flow-typed signature: ae115502bca9c9f90de9e66e5d177a3d +// flow-typed version: <>/babel-jest_v^24.8.0/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-loader_vx.x.x.js b/flow-typed/npm/babel-loader_vx.x.x.js index 620b373f..9d861921 100644 --- a/flow-typed/npm/babel-loader_vx.x.x.js +++ b/flow-typed/npm/babel-loader_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 912473c991db329915861d0474e4248e -// flow-typed version: <>/babel-loader_v^8.0.5/flow_v0.98.0 +// flow-typed signature: 37dca9137ba7cab22de088730065b31b +// flow-typed version: <>/babel-loader_v^8.0.6/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-plugin-add-module-exports_vx.x.x.js b/flow-typed/npm/babel-plugin-add-module-exports_vx.x.x.js index 76b825b3..7c14a2c0 100644 --- a/flow-typed/npm/babel-plugin-add-module-exports_vx.x.x.js +++ b/flow-typed/npm/babel-plugin-add-module-exports_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 3264fb142d34260e0945845b0a33d1dc -// flow-typed version: <>/babel-plugin-add-module-exports_v^1.0.2/flow_v0.98.0 +// flow-typed signature: f2b00cf82efb6e9a6dcc2b976034b6bc +// flow-typed version: <>/babel-plugin-add-module-exports_v^1.0.2/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-plugin-annotate-pure-calls_vx.x.x.js b/flow-typed/npm/babel-plugin-annotate-pure-calls_vx.x.x.js index 075503c8..828f979e 100644 --- a/flow-typed/npm/babel-plugin-annotate-pure-calls_vx.x.x.js +++ b/flow-typed/npm/babel-plugin-annotate-pure-calls_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 8c22602c5c870e9b3eb8cffb317be587 -// flow-typed version: <>/babel-plugin-annotate-pure-calls_v^0.4.0/flow_v0.98.0 +// flow-typed signature: 173a6a1e89e96243802ffaa931a72984 +// flow-typed version: <>/babel-plugin-annotate-pure-calls_v^0.4.0/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-plugin-external-helpers_vx.x.x.js b/flow-typed/npm/babel-plugin-external-helpers_vx.x.x.js deleted file mode 100644 index 4fe1bce4..00000000 --- a/flow-typed/npm/babel-plugin-external-helpers_vx.x.x.js +++ /dev/null @@ -1,32 +0,0 @@ -// flow-typed signature: 25c3908b6692b0551adedb984c99a421 -// flow-typed version: <>/babel-plugin-external-helpers_v^6.18.0/flow_v0.64.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'babel-plugin-external-helpers' - * - * 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 'babel-plugin-external-helpers' { - 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 'babel-plugin-external-helpers/lib/index' { - declare module.exports: any; -} - -// Filename aliases -declare module 'babel-plugin-external-helpers/lib/index.js' { - declare module.exports: $Exports<'babel-plugin-external-helpers/lib/index'>; -} diff --git a/flow-typed/npm/babel-plugin-preval_vx.x.x.js b/flow-typed/npm/babel-plugin-preval_vx.x.x.js index 9230dec8..d3bdaa71 100644 --- a/flow-typed/npm/babel-plugin-preval_vx.x.x.js +++ b/flow-typed/npm/babel-plugin-preval_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 25c7a1a765ae3fd4de5a696e2217544b -// flow-typed version: <>/babel-plugin-preval_v3.0.1/flow_v0.98.0 +// flow-typed signature: af80e12d8118e55aa3d7b776e3cce4fe +// flow-typed version: <>/babel-plugin-preval_v3.0.1/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-plugin-syntax-trailing-function-commas_vx.x.x.js b/flow-typed/npm/babel-plugin-syntax-trailing-function-commas_vx.x.x.js deleted file mode 100644 index 66fb5f34..00000000 --- a/flow-typed/npm/babel-plugin-syntax-trailing-function-commas_vx.x.x.js +++ /dev/null @@ -1,32 +0,0 @@ -// flow-typed signature: f2d1e5220e7601112e53c7580ff8403e -// flow-typed version: <>/babel-plugin-syntax-trailing-function-commas_v^6.22.0/flow_v0.64.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'babel-plugin-syntax-trailing-function-commas' - * - * 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 'babel-plugin-syntax-trailing-function-commas' { - 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 'babel-plugin-syntax-trailing-function-commas/lib/index' { - declare module.exports: any; -} - -// Filename aliases -declare module 'babel-plugin-syntax-trailing-function-commas/lib/index.js' { - declare module.exports: $Exports<'babel-plugin-syntax-trailing-function-commas/lib/index'>; -} diff --git a/flow-typed/npm/babel-plugin-transform-flow-strip-types_vx.x.x.js b/flow-typed/npm/babel-plugin-transform-flow-strip-types_vx.x.x.js deleted file mode 100644 index cd27581a..00000000 --- a/flow-typed/npm/babel-plugin-transform-flow-strip-types_vx.x.x.js +++ /dev/null @@ -1,32 +0,0 @@ -// flow-typed signature: 87e72c953abd644315ee6d570bdddbc6 -// flow-typed version: <>/babel-plugin-transform-flow-strip-types_v^6.18.0/flow_v0.64.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'babel-plugin-transform-flow-strip-types' - * - * 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 'babel-plugin-transform-flow-strip-types' { - 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 'babel-plugin-transform-flow-strip-types/lib/index' { - declare module.exports: any; -} - -// Filename aliases -declare module 'babel-plugin-transform-flow-strip-types/lib/index.js' { - declare module.exports: $Exports<'babel-plugin-transform-flow-strip-types/lib/index'>; -} diff --git a/flow-typed/npm/babel-plugin-transform-object-rest-spread_vx.x.x.js b/flow-typed/npm/babel-plugin-transform-object-rest-spread_vx.x.x.js deleted file mode 100644 index 39b9ce78..00000000 --- a/flow-typed/npm/babel-plugin-transform-object-rest-spread_vx.x.x.js +++ /dev/null @@ -1,32 +0,0 @@ -// flow-typed signature: 588c53f04a79dc222c91da56a94a1bfc -// flow-typed version: <>/babel-plugin-transform-object-rest-spread_v^6.26.0/flow_v0.64.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'babel-plugin-transform-object-rest-spread' - * - * 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 'babel-plugin-transform-object-rest-spread' { - 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 'babel-plugin-transform-object-rest-spread/lib/index' { - declare module.exports: any; -} - -// Filename aliases -declare module 'babel-plugin-transform-object-rest-spread/lib/index.js' { - declare module.exports: $Exports<'babel-plugin-transform-object-rest-spread/lib/index'>; -} diff --git a/flow-typed/npm/babel-polyfill_vx.x.x.js b/flow-typed/npm/babel-polyfill_vx.x.x.js deleted file mode 100644 index 3935506c..00000000 --- a/flow-typed/npm/babel-polyfill_vx.x.x.js +++ /dev/null @@ -1,67 +0,0 @@ -// flow-typed signature: ed95cc424caa2db356233d7cd91218b9 -// flow-typed version: <>/babel-polyfill_v^6.26.0/flow_v0.64.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'babel-polyfill' - * - * 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 'babel-polyfill' { - 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 'babel-polyfill/browser' { - declare module.exports: any; -} - -declare module 'babel-polyfill/dist/polyfill' { - declare module.exports: any; -} - -declare module 'babel-polyfill/dist/polyfill.min' { - declare module.exports: any; -} - -declare module 'babel-polyfill/lib/index' { - declare module.exports: any; -} - -declare module 'babel-polyfill/scripts/postpublish' { - declare module.exports: any; -} - -declare module 'babel-polyfill/scripts/prepublish' { - declare module.exports: any; -} - -// Filename aliases -declare module 'babel-polyfill/browser.js' { - declare module.exports: $Exports<'babel-polyfill/browser'>; -} -declare module 'babel-polyfill/dist/polyfill.js' { - declare module.exports: $Exports<'babel-polyfill/dist/polyfill'>; -} -declare module 'babel-polyfill/dist/polyfill.min.js' { - declare module.exports: $Exports<'babel-polyfill/dist/polyfill.min'>; -} -declare module 'babel-polyfill/lib/index.js' { - declare module.exports: $Exports<'babel-polyfill/lib/index'>; -} -declare module 'babel-polyfill/scripts/postpublish.js' { - declare module.exports: $Exports<'babel-polyfill/scripts/postpublish'>; -} -declare module 'babel-polyfill/scripts/prepublish.js' { - declare module.exports: $Exports<'babel-polyfill/scripts/prepublish'>; -} diff --git a/flow-typed/npm/babel-preset-env_vx.x.x.js b/flow-typed/npm/babel-preset-env_vx.x.x.js deleted file mode 100644 index a827f8f5..00000000 --- a/flow-typed/npm/babel-preset-env_vx.x.x.js +++ /dev/null @@ -1,88 +0,0 @@ -// flow-typed signature: ef2d9bfec8329a2eb219a3b6492893fa -// flow-typed version: <>/babel-preset-env_v^1.6.1/flow_v0.64.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'babel-preset-env' - * - * 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 'babel-preset-env' { - 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 'babel-preset-env/data/built-in-features' { - declare module.exports: any; -} - -declare module 'babel-preset-env/data/plugin-features' { - declare module.exports: any; -} - -declare module 'babel-preset-env/lib/default-includes' { - declare module.exports: any; -} - -declare module 'babel-preset-env/lib/index' { - declare module.exports: any; -} - -declare module 'babel-preset-env/lib/module-transformations' { - declare module.exports: any; -} - -declare module 'babel-preset-env/lib/normalize-options' { - declare module.exports: any; -} - -declare module 'babel-preset-env/lib/targets-parser' { - declare module.exports: any; -} - -declare module 'babel-preset-env/lib/transform-polyfill-require-plugin' { - declare module.exports: any; -} - -declare module 'babel-preset-env/lib/utils' { - declare module.exports: any; -} - -// Filename aliases -declare module 'babel-preset-env/data/built-in-features.js' { - declare module.exports: $Exports<'babel-preset-env/data/built-in-features'>; -} -declare module 'babel-preset-env/data/plugin-features.js' { - declare module.exports: $Exports<'babel-preset-env/data/plugin-features'>; -} -declare module 'babel-preset-env/lib/default-includes.js' { - declare module.exports: $Exports<'babel-preset-env/lib/default-includes'>; -} -declare module 'babel-preset-env/lib/index.js' { - declare module.exports: $Exports<'babel-preset-env/lib/index'>; -} -declare module 'babel-preset-env/lib/module-transformations.js' { - declare module.exports: $Exports<'babel-preset-env/lib/module-transformations'>; -} -declare module 'babel-preset-env/lib/normalize-options.js' { - declare module.exports: $Exports<'babel-preset-env/lib/normalize-options'>; -} -declare module 'babel-preset-env/lib/targets-parser.js' { - declare module.exports: $Exports<'babel-preset-env/lib/targets-parser'>; -} -declare module 'babel-preset-env/lib/transform-polyfill-require-plugin.js' { - declare module.exports: $Exports<'babel-preset-env/lib/transform-polyfill-require-plugin'>; -} -declare module 'babel-preset-env/lib/utils.js' { - declare module.exports: $Exports<'babel-preset-env/lib/utils'>; -} diff --git a/flow-typed/npm/babel-preset-latest_vx.x.x.js b/flow-typed/npm/babel-preset-latest_vx.x.x.js deleted file mode 100644 index 7094aad8..00000000 --- a/flow-typed/npm/babel-preset-latest_vx.x.x.js +++ /dev/null @@ -1,32 +0,0 @@ -// flow-typed signature: ab6e4a2699bd9c90ccc4c5cbae6351fb -// flow-typed version: <>/babel-preset-latest_v^6.16.0/flow_v0.36.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'babel-preset-latest' - * - * 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 'babel-preset-latest' { - 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 'babel-preset-latest/lib/index' { - declare module.exports: any; -} - -// Filename aliases -declare module 'babel-preset-latest/lib/index.js' { - declare module.exports: $Exports<'babel-preset-latest/lib/index'>; -} diff --git a/flow-typed/npm/concat-stream_vx.x.x.js b/flow-typed/npm/concat-stream_vx.x.x.js index 1ded8913..61ef7345 100644 --- a/flow-typed/npm/concat-stream_vx.x.x.js +++ b/flow-typed/npm/concat-stream_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 6dcc35b6a35d6a9a6caa47f1e9569952 -// flow-typed version: <>/concat-stream_v^2.0.0/flow_v0.98.0 +// flow-typed signature: 179e1697fed2b42c3b56121af161a223 +// flow-typed version: <>/concat-stream_v^2.0.0/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/cross-env_vx.x.x.js b/flow-typed/npm/cross-env_vx.x.x.js index 4d3c151e..c6d28f73 100644 --- a/flow-typed/npm/cross-env_vx.x.x.js +++ b/flow-typed/npm/cross-env_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 32b12a81b4af9ac236311a45ad138794 -// flow-typed version: <>/cross-env_v^5.2.0/flow_v0.98.0 +// flow-typed signature: 635d43f130638127e70bc2fc7c1e3dde +// flow-typed version: <>/cross-env_v^5.2.0/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/cz-conventional-changelog_vx.x.x.js b/flow-typed/npm/cz-conventional-changelog_vx.x.x.js index 7f0fe418..9342a7d0 100644 --- a/flow-typed/npm/cz-conventional-changelog_vx.x.x.js +++ b/flow-typed/npm/cz-conventional-changelog_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 92c95d7b569f2b2a7315142b504eb075 -// flow-typed version: <>/cz-conventional-changelog_v^2.1.0/flow_v0.98.0 +// flow-typed signature: 5149265bedb8f0f174e3b28b34ccd1e7 +// flow-typed version: <>/cz-conventional-changelog_v^2.1.0/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/documentation_vx.x.x.js b/flow-typed/npm/documentation_vx.x.x.js index e7478db9..55598d82 100644 --- a/flow-typed/npm/documentation_vx.x.x.js +++ b/flow-typed/npm/documentation_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 47fccd9101902bf179e130b1908977f7 -// flow-typed version: <>/documentation_v9.3.1/flow_v0.98.0 +// flow-typed signature: d07522506469a33315ab7f415dc86aeb +// flow-typed version: <>/documentation_v9.3.1/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/eslint-config-airbnb-base_vx.x.x.js b/flow-typed/npm/eslint-config-airbnb-base_vx.x.x.js index 4a27b113..b82103ef 100644 --- a/flow-typed/npm/eslint-config-airbnb-base_vx.x.x.js +++ b/flow-typed/npm/eslint-config-airbnb-base_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: ccd5c457558d39d0bd3625a83db5f4fb -// flow-typed version: <>/eslint-config-airbnb-base_v^13.1.0/flow_v0.98.0 +// flow-typed signature: 75193460df477031021f4e42d4a9252b +// flow-typed version: <>/eslint-config-airbnb-base_v^13.1.0/flow_v0.101.0 /** * This is an autogenerated libdef stub for: 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 29128fe4..c9570c78 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: 238ce22ee62e03c30c1d5d98faba3538 -// flow-typed version: <>/eslint-plugin-import_v^2.17.2/flow_v0.98.0 +// flow-typed signature: d109fd62a71bdd8de7821076a1dac437 +// flow-typed version: <>/eslint-plugin-import_v^2.17.3/flow_v0.101.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 4312d667..abdfbf6b 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: b54de7a63c15f465b250c587b838a674 -// flow-typed version: <>/eslint_v^5.16.0/flow_v0.98.0 +// flow-typed signature: e62b09a4c2474f1bbe8d8a402f583d44 +// flow-typed version: <>/eslint_v^5.16.0/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/flow-copy-source_vx.x.x.js b/flow-typed/npm/flow-copy-source_vx.x.x.js index 5e27e9ce..c8e52f65 100644 --- a/flow-typed/npm/flow-copy-source_vx.x.x.js +++ b/flow-typed/npm/flow-copy-source_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 435b0845016eb9bdda52376ada974d74 -// flow-typed version: <>/flow-copy-source_v^2.0.4/flow_v0.98.0 +// flow-typed signature: 3ed47d59fef3e49b6acb421f160a6a92 +// flow-typed version: <>/flow-copy-source_v^2.0.6/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/flow-coverage-report_vx.x.x.js b/flow-typed/npm/flow-coverage-report_vx.x.x.js index 9ae5031c..7373c02d 100644 --- a/flow-typed/npm/flow-coverage-report_vx.x.x.js +++ b/flow-typed/npm/flow-coverage-report_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 610441788329dde311bc30b2e2e144c8 -// flow-typed version: <>/flow-coverage-report_v^0.6.1/flow_v0.98.0 +// flow-typed signature: 943a561ea5590b391c40ebc47fe3e554 +// flow-typed version: <>/flow-coverage-report_v^0.6.1/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/ghooks_vx.x.x.js b/flow-typed/npm/ghooks_vx.x.x.js deleted file mode 100644 index 64a46da2..00000000 --- a/flow-typed/npm/ghooks_vx.x.x.js +++ /dev/null @@ -1,46 +0,0 @@ -// flow-typed signature: 620f45aca8c17cdf2ff8e25c91535374 -// flow-typed version: <>/ghooks_v^1.3.2/flow_v0.36.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'ghooks' - * - * 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 'ghooks' { - 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 'ghooks/dist/hook.template' { - declare module.exports: any; -} - -declare module 'ghooks/dist/install' { - declare module.exports: any; -} - -declare module 'ghooks/dist/runner' { - declare module.exports: any; -} - -// Filename aliases -declare module 'ghooks/dist/hook.template.js' { - declare module.exports: $Exports<'ghooks/dist/hook.template'>; -} -declare module 'ghooks/dist/install.js' { - declare module.exports: $Exports<'ghooks/dist/install'>; -} -declare module 'ghooks/dist/runner.js' { - declare module.exports: $Exports<'ghooks/dist/runner'>; -} diff --git a/flow-typed/npm/github-slugger_vx.x.x.js b/flow-typed/npm/github-slugger_vx.x.x.js deleted file mode 100644 index 8e69f6d8..00000000 --- a/flow-typed/npm/github-slugger_vx.x.x.js +++ /dev/null @@ -1,38 +0,0 @@ -// flow-typed signature: b1d8d7c9cccb8711d15ed1b6743e6c5f -// flow-typed version: <>/github-slugger_v^1.1.1/flow_v0.64.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'github-slugger' - * - * 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 'github-slugger' { - 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 'github-slugger/test/index' { - declare module.exports: any; -} - -// Filename aliases -declare module 'github-slugger/index' { - declare module.exports: $Exports<'github-slugger'>; -} -declare module 'github-slugger/index.js' { - declare module.exports: $Exports<'github-slugger'>; -} -declare module 'github-slugger/test/index.js' { - declare module.exports: $Exports<'github-slugger/test/index'>; -} diff --git a/flow-typed/npm/highlight.js_vx.x.x.js b/flow-typed/npm/highlight.js_vx.x.x.js deleted file mode 100644 index 176e9424..00000000 --- a/flow-typed/npm/highlight.js_vx.x.x.js +++ /dev/null @@ -1,1243 +0,0 @@ -// flow-typed signature: f40e08acc34e740ecc2e3a12011a0a0d -// flow-typed version: <>/highlight.js_v^9.9.0/flow_v0.64.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'highlight.js' - * - * 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 'highlight.js' { - 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 'highlight.js/lib/highlight' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/index' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/1c' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/abnf' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/accesslog' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/actionscript' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/ada' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/apache' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/applescript' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/arduino' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/armasm' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/asciidoc' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/aspectj' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/autohotkey' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/autoit' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/avrasm' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/awk' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/axapta' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/bash' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/basic' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/bnf' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/brainfuck' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/cal' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/capnproto' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/ceylon' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/clean' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/clojure-repl' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/clojure' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/cmake' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/coffeescript' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/coq' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/cos' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/cpp' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/crmsh' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/crystal' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/cs' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/csp' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/css' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/d' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/dart' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/delphi' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/diff' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/django' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/dns' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/dockerfile' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/dos' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/dsconfig' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/dts' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/dust' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/ebnf' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/elixir' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/elm' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/erb' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/erlang-repl' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/erlang' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/excel' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/fix' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/flix' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/fortran' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/fsharp' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/gams' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/gauss' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/gcode' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/gherkin' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/glsl' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/go' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/golo' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/gradle' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/groovy' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/haml' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/handlebars' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/haskell' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/haxe' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/hsp' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/htmlbars' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/http' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/hy' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/inform7' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/ini' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/irpf90' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/java' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/javascript' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/json' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/julia' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/kotlin' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/lasso' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/ldif' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/leaf' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/less' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/lisp' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/livecodeserver' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/livescript' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/llvm' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/lsl' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/lua' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/makefile' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/markdown' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/mathematica' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/matlab' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/maxima' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/mel' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/mercury' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/mipsasm' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/mizar' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/mojolicious' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/monkey' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/moonscript' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/n1ql' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/nginx' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/nimrod' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/nix' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/nsis' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/objectivec' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/ocaml' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/openscad' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/oxygene' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/parser3' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/perl' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/pf' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/php' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/pony' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/powershell' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/processing' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/profile' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/prolog' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/protobuf' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/puppet' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/purebasic' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/python' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/q' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/qml' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/r' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/rib' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/roboconf' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/rsl' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/ruby' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/ruleslanguage' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/rust' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/scala' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/scheme' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/scilab' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/scss' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/smali' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/smalltalk' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/sml' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/sqf' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/sql' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/stan' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/stata' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/step21' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/stylus' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/subunit' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/swift' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/taggerscript' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/tap' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/tcl' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/tex' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/thrift' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/tp' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/twig' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/typescript' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/vala' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/vbnet' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/vbscript-html' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/vbscript' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/verilog' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/vhdl' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/vim' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/x86asm' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/xl' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/xml' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/xquery' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/yaml' { - declare module.exports: any; -} - -declare module 'highlight.js/lib/languages/zephir' { - declare module.exports: any; -} - -// Filename aliases -declare module 'highlight.js/lib/highlight.js' { - declare module.exports: $Exports<'highlight.js/lib/highlight'>; -} -declare module 'highlight.js/lib/index.js' { - declare module.exports: $Exports<'highlight.js/lib/index'>; -} -declare module 'highlight.js/lib/languages/1c.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/1c'>; -} -declare module 'highlight.js/lib/languages/abnf.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/abnf'>; -} -declare module 'highlight.js/lib/languages/accesslog.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/accesslog'>; -} -declare module 'highlight.js/lib/languages/actionscript.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/actionscript'>; -} -declare module 'highlight.js/lib/languages/ada.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/ada'>; -} -declare module 'highlight.js/lib/languages/apache.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/apache'>; -} -declare module 'highlight.js/lib/languages/applescript.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/applescript'>; -} -declare module 'highlight.js/lib/languages/arduino.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/arduino'>; -} -declare module 'highlight.js/lib/languages/armasm.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/armasm'>; -} -declare module 'highlight.js/lib/languages/asciidoc.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/asciidoc'>; -} -declare module 'highlight.js/lib/languages/aspectj.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/aspectj'>; -} -declare module 'highlight.js/lib/languages/autohotkey.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/autohotkey'>; -} -declare module 'highlight.js/lib/languages/autoit.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/autoit'>; -} -declare module 'highlight.js/lib/languages/avrasm.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/avrasm'>; -} -declare module 'highlight.js/lib/languages/awk.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/awk'>; -} -declare module 'highlight.js/lib/languages/axapta.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/axapta'>; -} -declare module 'highlight.js/lib/languages/bash.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/bash'>; -} -declare module 'highlight.js/lib/languages/basic.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/basic'>; -} -declare module 'highlight.js/lib/languages/bnf.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/bnf'>; -} -declare module 'highlight.js/lib/languages/brainfuck.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/brainfuck'>; -} -declare module 'highlight.js/lib/languages/cal.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/cal'>; -} -declare module 'highlight.js/lib/languages/capnproto.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/capnproto'>; -} -declare module 'highlight.js/lib/languages/ceylon.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/ceylon'>; -} -declare module 'highlight.js/lib/languages/clean.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/clean'>; -} -declare module 'highlight.js/lib/languages/clojure-repl.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/clojure-repl'>; -} -declare module 'highlight.js/lib/languages/clojure.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/clojure'>; -} -declare module 'highlight.js/lib/languages/cmake.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/cmake'>; -} -declare module 'highlight.js/lib/languages/coffeescript.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/coffeescript'>; -} -declare module 'highlight.js/lib/languages/coq.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/coq'>; -} -declare module 'highlight.js/lib/languages/cos.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/cos'>; -} -declare module 'highlight.js/lib/languages/cpp.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/cpp'>; -} -declare module 'highlight.js/lib/languages/crmsh.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/crmsh'>; -} -declare module 'highlight.js/lib/languages/crystal.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/crystal'>; -} -declare module 'highlight.js/lib/languages/cs.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/cs'>; -} -declare module 'highlight.js/lib/languages/csp.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/csp'>; -} -declare module 'highlight.js/lib/languages/css.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/css'>; -} -declare module 'highlight.js/lib/languages/d.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/d'>; -} -declare module 'highlight.js/lib/languages/dart.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/dart'>; -} -declare module 'highlight.js/lib/languages/delphi.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/delphi'>; -} -declare module 'highlight.js/lib/languages/diff.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/diff'>; -} -declare module 'highlight.js/lib/languages/django.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/django'>; -} -declare module 'highlight.js/lib/languages/dns.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/dns'>; -} -declare module 'highlight.js/lib/languages/dockerfile.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/dockerfile'>; -} -declare module 'highlight.js/lib/languages/dos.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/dos'>; -} -declare module 'highlight.js/lib/languages/dsconfig.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/dsconfig'>; -} -declare module 'highlight.js/lib/languages/dts.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/dts'>; -} -declare module 'highlight.js/lib/languages/dust.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/dust'>; -} -declare module 'highlight.js/lib/languages/ebnf.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/ebnf'>; -} -declare module 'highlight.js/lib/languages/elixir.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/elixir'>; -} -declare module 'highlight.js/lib/languages/elm.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/elm'>; -} -declare module 'highlight.js/lib/languages/erb.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/erb'>; -} -declare module 'highlight.js/lib/languages/erlang-repl.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/erlang-repl'>; -} -declare module 'highlight.js/lib/languages/erlang.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/erlang'>; -} -declare module 'highlight.js/lib/languages/excel.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/excel'>; -} -declare module 'highlight.js/lib/languages/fix.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/fix'>; -} -declare module 'highlight.js/lib/languages/flix.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/flix'>; -} -declare module 'highlight.js/lib/languages/fortran.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/fortran'>; -} -declare module 'highlight.js/lib/languages/fsharp.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/fsharp'>; -} -declare module 'highlight.js/lib/languages/gams.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/gams'>; -} -declare module 'highlight.js/lib/languages/gauss.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/gauss'>; -} -declare module 'highlight.js/lib/languages/gcode.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/gcode'>; -} -declare module 'highlight.js/lib/languages/gherkin.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/gherkin'>; -} -declare module 'highlight.js/lib/languages/glsl.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/glsl'>; -} -declare module 'highlight.js/lib/languages/go.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/go'>; -} -declare module 'highlight.js/lib/languages/golo.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/golo'>; -} -declare module 'highlight.js/lib/languages/gradle.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/gradle'>; -} -declare module 'highlight.js/lib/languages/groovy.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/groovy'>; -} -declare module 'highlight.js/lib/languages/haml.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/haml'>; -} -declare module 'highlight.js/lib/languages/handlebars.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/handlebars'>; -} -declare module 'highlight.js/lib/languages/haskell.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/haskell'>; -} -declare module 'highlight.js/lib/languages/haxe.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/haxe'>; -} -declare module 'highlight.js/lib/languages/hsp.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/hsp'>; -} -declare module 'highlight.js/lib/languages/htmlbars.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/htmlbars'>; -} -declare module 'highlight.js/lib/languages/http.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/http'>; -} -declare module 'highlight.js/lib/languages/hy.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/hy'>; -} -declare module 'highlight.js/lib/languages/inform7.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/inform7'>; -} -declare module 'highlight.js/lib/languages/ini.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/ini'>; -} -declare module 'highlight.js/lib/languages/irpf90.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/irpf90'>; -} -declare module 'highlight.js/lib/languages/java.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/java'>; -} -declare module 'highlight.js/lib/languages/javascript.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/javascript'>; -} -declare module 'highlight.js/lib/languages/json.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/json'>; -} -declare module 'highlight.js/lib/languages/julia.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/julia'>; -} -declare module 'highlight.js/lib/languages/kotlin.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/kotlin'>; -} -declare module 'highlight.js/lib/languages/lasso.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/lasso'>; -} -declare module 'highlight.js/lib/languages/ldif.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/ldif'>; -} -declare module 'highlight.js/lib/languages/leaf.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/leaf'>; -} -declare module 'highlight.js/lib/languages/less.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/less'>; -} -declare module 'highlight.js/lib/languages/lisp.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/lisp'>; -} -declare module 'highlight.js/lib/languages/livecodeserver.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/livecodeserver'>; -} -declare module 'highlight.js/lib/languages/livescript.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/livescript'>; -} -declare module 'highlight.js/lib/languages/llvm.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/llvm'>; -} -declare module 'highlight.js/lib/languages/lsl.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/lsl'>; -} -declare module 'highlight.js/lib/languages/lua.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/lua'>; -} -declare module 'highlight.js/lib/languages/makefile.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/makefile'>; -} -declare module 'highlight.js/lib/languages/markdown.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/markdown'>; -} -declare module 'highlight.js/lib/languages/mathematica.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/mathematica'>; -} -declare module 'highlight.js/lib/languages/matlab.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/matlab'>; -} -declare module 'highlight.js/lib/languages/maxima.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/maxima'>; -} -declare module 'highlight.js/lib/languages/mel.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/mel'>; -} -declare module 'highlight.js/lib/languages/mercury.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/mercury'>; -} -declare module 'highlight.js/lib/languages/mipsasm.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/mipsasm'>; -} -declare module 'highlight.js/lib/languages/mizar.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/mizar'>; -} -declare module 'highlight.js/lib/languages/mojolicious.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/mojolicious'>; -} -declare module 'highlight.js/lib/languages/monkey.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/monkey'>; -} -declare module 'highlight.js/lib/languages/moonscript.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/moonscript'>; -} -declare module 'highlight.js/lib/languages/n1ql.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/n1ql'>; -} -declare module 'highlight.js/lib/languages/nginx.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/nginx'>; -} -declare module 'highlight.js/lib/languages/nimrod.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/nimrod'>; -} -declare module 'highlight.js/lib/languages/nix.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/nix'>; -} -declare module 'highlight.js/lib/languages/nsis.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/nsis'>; -} -declare module 'highlight.js/lib/languages/objectivec.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/objectivec'>; -} -declare module 'highlight.js/lib/languages/ocaml.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/ocaml'>; -} -declare module 'highlight.js/lib/languages/openscad.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/openscad'>; -} -declare module 'highlight.js/lib/languages/oxygene.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/oxygene'>; -} -declare module 'highlight.js/lib/languages/parser3.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/parser3'>; -} -declare module 'highlight.js/lib/languages/perl.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/perl'>; -} -declare module 'highlight.js/lib/languages/pf.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/pf'>; -} -declare module 'highlight.js/lib/languages/php.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/php'>; -} -declare module 'highlight.js/lib/languages/pony.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/pony'>; -} -declare module 'highlight.js/lib/languages/powershell.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/powershell'>; -} -declare module 'highlight.js/lib/languages/processing.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/processing'>; -} -declare module 'highlight.js/lib/languages/profile.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/profile'>; -} -declare module 'highlight.js/lib/languages/prolog.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/prolog'>; -} -declare module 'highlight.js/lib/languages/protobuf.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/protobuf'>; -} -declare module 'highlight.js/lib/languages/puppet.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/puppet'>; -} -declare module 'highlight.js/lib/languages/purebasic.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/purebasic'>; -} -declare module 'highlight.js/lib/languages/python.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/python'>; -} -declare module 'highlight.js/lib/languages/q.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/q'>; -} -declare module 'highlight.js/lib/languages/qml.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/qml'>; -} -declare module 'highlight.js/lib/languages/r.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/r'>; -} -declare module 'highlight.js/lib/languages/rib.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/rib'>; -} -declare module 'highlight.js/lib/languages/roboconf.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/roboconf'>; -} -declare module 'highlight.js/lib/languages/rsl.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/rsl'>; -} -declare module 'highlight.js/lib/languages/ruby.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/ruby'>; -} -declare module 'highlight.js/lib/languages/ruleslanguage.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/ruleslanguage'>; -} -declare module 'highlight.js/lib/languages/rust.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/rust'>; -} -declare module 'highlight.js/lib/languages/scala.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/scala'>; -} -declare module 'highlight.js/lib/languages/scheme.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/scheme'>; -} -declare module 'highlight.js/lib/languages/scilab.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/scilab'>; -} -declare module 'highlight.js/lib/languages/scss.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/scss'>; -} -declare module 'highlight.js/lib/languages/smali.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/smali'>; -} -declare module 'highlight.js/lib/languages/smalltalk.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/smalltalk'>; -} -declare module 'highlight.js/lib/languages/sml.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/sml'>; -} -declare module 'highlight.js/lib/languages/sqf.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/sqf'>; -} -declare module 'highlight.js/lib/languages/sql.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/sql'>; -} -declare module 'highlight.js/lib/languages/stan.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/stan'>; -} -declare module 'highlight.js/lib/languages/stata.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/stata'>; -} -declare module 'highlight.js/lib/languages/step21.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/step21'>; -} -declare module 'highlight.js/lib/languages/stylus.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/stylus'>; -} -declare module 'highlight.js/lib/languages/subunit.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/subunit'>; -} -declare module 'highlight.js/lib/languages/swift.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/swift'>; -} -declare module 'highlight.js/lib/languages/taggerscript.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/taggerscript'>; -} -declare module 'highlight.js/lib/languages/tap.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/tap'>; -} -declare module 'highlight.js/lib/languages/tcl.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/tcl'>; -} -declare module 'highlight.js/lib/languages/tex.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/tex'>; -} -declare module 'highlight.js/lib/languages/thrift.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/thrift'>; -} -declare module 'highlight.js/lib/languages/tp.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/tp'>; -} -declare module 'highlight.js/lib/languages/twig.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/twig'>; -} -declare module 'highlight.js/lib/languages/typescript.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/typescript'>; -} -declare module 'highlight.js/lib/languages/vala.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/vala'>; -} -declare module 'highlight.js/lib/languages/vbnet.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/vbnet'>; -} -declare module 'highlight.js/lib/languages/vbscript-html.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/vbscript-html'>; -} -declare module 'highlight.js/lib/languages/vbscript.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/vbscript'>; -} -declare module 'highlight.js/lib/languages/verilog.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/verilog'>; -} -declare module 'highlight.js/lib/languages/vhdl.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/vhdl'>; -} -declare module 'highlight.js/lib/languages/vim.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/vim'>; -} -declare module 'highlight.js/lib/languages/x86asm.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/x86asm'>; -} -declare module 'highlight.js/lib/languages/xl.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/xl'>; -} -declare module 'highlight.js/lib/languages/xml.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/xml'>; -} -declare module 'highlight.js/lib/languages/xquery.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/xquery'>; -} -declare module 'highlight.js/lib/languages/yaml.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/yaml'>; -} -declare module 'highlight.js/lib/languages/zephir.js' { - declare module.exports: $Exports<'highlight.js/lib/languages/zephir'>; -} diff --git a/flow-typed/npm/husky_vx.x.x.js b/flow-typed/npm/husky_vx.x.x.js index 409efe5a..3d1ce1c4 100644 --- a/flow-typed/npm/husky_vx.x.x.js +++ b/flow-typed/npm/husky_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: fb5831de2fb8d490590f4b43d5668ce7 -// flow-typed version: <>/husky_v^2.2.0/flow_v0.98.0 +// flow-typed signature: 9b77f3d2feb0a32bbe6a148c6ad4ee8b +// flow-typed version: <>/husky_v^2.4.1/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/jest_v24.x.x.js b/flow-typed/npm/jest_v24.x.x.js index 6b024d9a..3cc62cf9 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: 8dffde9ed1a3e12b1003871feca14476 -// flow-typed version: 8b0a1f6a01/jest_v24.x.x/flow_>=v0.39.x +// flow-typed signature: f5997c5ee181aaeba6fc2d2a2158feb3 +// flow-typed version: cefb07e7f4/jest_v24.x.x/flow_>=v0.39.x type JestMockFn, TReturn> = { (...args: TArguments): TReturn, @@ -215,6 +215,7 @@ type EnzymeMatchersType = { // DOM testing library extensions https://github.com/kentcdodds/dom-testing-library#custom-jest-matchers type DomTestingLibraryType = { toBeDisabled(): void, + toBeEnabled(): void, toBeEmpty(): void, toBeInTheDocument(): void, toBeVisible(): void, diff --git a/flow-typed/npm/lint-staged_vx.x.x.js b/flow-typed/npm/lint-staged_vx.x.x.js index 9c73adfa..5d07b900 100644 --- a/flow-typed/npm/lint-staged_vx.x.x.js +++ b/flow-typed/npm/lint-staged_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: cb9ee58a94c10509f512bd9c1583c8ad -// flow-typed version: <>/lint-staged_v^8.1.6/flow_v0.98.0 +// flow-typed signature: 5145dccfaba46d4f4b43782e70d8e9e3 +// flow-typed version: <>/lint-staged_v^8.2.1/flow_v0.101.0 /** * This is an autogenerated libdef stub for: @@ -30,6 +30,10 @@ declare module 'lint-staged/src/checkPkgScripts' { declare module.exports: any; } +declare module 'lint-staged/src/execGit' { + declare module.exports: any; +} + declare module 'lint-staged/src/findBin' { declare module.exports: any; } @@ -83,6 +87,9 @@ declare module 'lint-staged/src/calcChunkSize.js' { declare module 'lint-staged/src/checkPkgScripts.js' { declare module.exports: $Exports<'lint-staged/src/checkPkgScripts'>; } +declare module 'lint-staged/src/execGit.js' { + declare module.exports: $Exports<'lint-staged/src/execGit'>; +} declare module 'lint-staged/src/findBin.js' { declare module.exports: $Exports<'lint-staged/src/findBin'>; } diff --git a/flow-typed/npm/lodash_v4.x.x.js b/flow-typed/npm/lodash_v4.x.x.js index 378e2f2f..8b75630a 100644 --- a/flow-typed/npm/lodash_v4.x.x.js +++ b/flow-typed/npm/lodash_v4.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 11c59ec61b55e07f727745ac1ee4a664 -// flow-typed version: 418c2af657/lodash_v4.x.x/flow_>=v0.63.x +// flow-typed signature: 8b15b6ecab988d6153afcfcf2876bbed +// flow-typed version: 07f4c5ae3d/lodash_v4.x.x/flow_>=v0.63.x declare module "lodash" { declare type Path = $ReadOnlyArray | string | number; @@ -265,7 +265,7 @@ declare module "lodash" { ): -1; // alias of _.head first(array: ?$ReadOnlyArray): T; - flatten(array?: ?Array | X>): Array; + flatten(array?: ?$ReadOnlyArray<$ReadOnlyArray | X>): Array; flattenDeep(array?: ?(any[])): Array; flattenDepth(array?: ?(any[]), depth?: ?number): any[]; fromPairs(pairs?: ?Array<[A, B]>): { [key: A]: B }; @@ -486,15 +486,15 @@ declare module "lodash" { a4: Array, comparator?: Comparator ): Array; - zip(a1?: ?(A[]), a2?: ?(B[])): Array<[A, B]>; - zip(a1: A[], a2: B[], a3: C[]): Array<[A, B, C]>; - zip(a1: A[], a2: B[], a3: C[], a4: D[]): Array<[A, B, C, D]>; + zip(a1?: ?($ReadOnlyArray), a2?: ?($ReadOnlyArray)): Array<[A, B]>; + zip(a1: $ReadOnlyArray, a2: $ReadOnlyArray, a3: $ReadOnlyArray): Array<[A, B, C]>; + zip(a1: $ReadOnlyArray, a2: $ReadOnlyArray, a3: $ReadOnlyArray, a4: $ReadOnlyArray): Array<[A, B, C, D]>; zip( - a1: A[], - a2: B[], - a3: C[], - a4: D[], - a5: E[] + a1: $ReadOnlyArray, + a2: $ReadOnlyArray, + a3: $ReadOnlyArray, + a4: $ReadOnlyArray, + a5: $ReadOnlyArray ): Array<[A, B, C, D, E]>; zipObject(props: Array, values?: ?Array): { [key: K]: V }; @@ -1245,7 +1245,7 @@ declare module "lodash" { ): Object; omitBy(object: void | null, predicate?: ?OPredicate): {}; pick(object?: ?Object, ...props: Array): Object; - pick(object?: ?Object, props: Array): Object; + pick(object?: ?Object, props: $ReadOnlyArray): Object; pickBy( object: T, predicate?: ?OPredicate @@ -2946,8 +2946,10 @@ declare module "lodash/fp" { predicate: OPredicate ): (object: T) => Object; omitBy(predicate: OPredicate, object: T): Object; - pick(props: Array): (object: Object) => Object; - pick(props: Array, object: Object): Object; + pick(...props: Array): Object; + pick(props: $ReadOnlyArray, object: Object): Object; + pick(...props: Array): (object: Object) => Object; + pick(props: $ReadOnlyArray): (object: Object) => Object; pickAll(props: Array): (object: Object) => Object; pickAll(props: Array, object: Object): Object; pickBy( diff --git a/flow-typed/npm/npm-watch_vx.x.x.js b/flow-typed/npm/npm-watch_vx.x.x.js index 0c38fe6c..a3a416e3 100644 --- a/flow-typed/npm/npm-watch_vx.x.x.js +++ b/flow-typed/npm/npm-watch_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 6dbac0d9404e9ea315d3e140eb0be8a0 -// flow-typed version: <>/npm-watch_v^0.6.0/flow_v0.98.0 +// flow-typed signature: edfb19e18a02a5bf93c05c62cb4808da +// flow-typed version: <>/npm-watch_v^0.6.0/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/polished_vx.x.x.js b/flow-typed/npm/polished_vx.x.x.js deleted file mode 100644 index 3f9a9cd8..00000000 --- a/flow-typed/npm/polished_vx.x.x.js +++ /dev/null @@ -1,1873 +0,0 @@ -// flow-typed signature: fa10513f27f73116c729a3c88718a332 -// flow-typed version: <>/polished_v1.3.x/flow_v0.36.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'polished' - * - * 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 'polished' { - 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 'polished/dist/polished.es' { - declare module.exports: any; -} - -declare module 'polished/dist/polished' { - declare module.exports: any; -} - -declare module 'polished/dist/polished.min' { - declare module.exports: any; -} - -declare module 'polished/docs-theme/assets/anchor' { - declare module.exports: any; -} - -declare module 'polished/docs-theme/assets/docs' { - declare module.exports: any; -} - -declare module 'polished/docs-theme/assets/highlight.pack' { - declare module.exports: any; -} - -declare module 'polished/docs-theme/assets/script' { - declare module.exports: any; -} - -declare module 'polished/docs-theme/index' { - declare module.exports: any; -} - -declare module 'polished/docs-theme/markdown' { - declare module.exports: any; -} - -declare module 'polished/docs/assets/anchor' { - declare module.exports: any; -} - -declare module 'polished/docs/assets/docs' { - declare module.exports: any; -} - -declare module 'polished/docs/assets/highlight.pack' { - declare module.exports: any; -} - -declare module 'polished/docs/assets/polished' { - declare module.exports: any; -} - -declare module 'polished/docs/assets/script' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/babel-cli_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/babel-core_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/babel-eslint_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/babel-jest_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/babel-loader_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/babel-plugin-add-module-exports_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/babel-plugin-external-helpers_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/babel-plugin-transform-flow-strip-types_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/babel-plugin-transform-object-rest-spread_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/babel-polyfill_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/babel-preset-latest_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/concat-stream_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/cz-conventional-changelog_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/documentation_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/eslint_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/eslint-config-airbnb-base_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/eslint-plugin-import_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/flow-bin_v0.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/flow-copy-source_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/ghooks_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/github-slugger_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/highlight.js_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/jest_v16.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/lodash_v4.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/npm-watch_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/polished_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/pushstate-server_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/ramda_v0.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/rollup_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/rollup-plugin-babel_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/rollup-plugin-commonjs_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/rollup-plugin-flow_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/rollup-plugin-inject_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/rollup-plugin-json_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/rollup-plugin-node-resolve_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/rollup-plugin-replace_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/rollup-plugin-uglify_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/shx_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/validate-commit-msg_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/vinyl_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/flow-typed/npm/vinyl-fs_vx.x.x' { - declare module.exports: any; -} - -declare module 'polished/lib/color/adjustHue' { - declare module.exports: any; -} - -declare module 'polished/lib/color/complement' { - declare module.exports: any; -} - -declare module 'polished/lib/color/darken' { - declare module.exports: any; -} - -declare module 'polished/lib/color/desaturate' { - declare module.exports: any; -} - -declare module 'polished/lib/color/grayscale' { - declare module.exports: any; -} - -declare module 'polished/lib/color/hsl' { - declare module.exports: any; -} - -declare module 'polished/lib/color/hsla' { - declare module.exports: any; -} - -declare module 'polished/lib/color/invert' { - declare module.exports: any; -} - -declare module 'polished/lib/color/lighten' { - declare module.exports: any; -} - -declare module 'polished/lib/color/mix' { - declare module.exports: any; -} - -declare module 'polished/lib/color/opacify' { - declare module.exports: any; -} - -declare module 'polished/lib/color/parseToHsl' { - declare module.exports: any; -} - -declare module 'polished/lib/color/parseToRgb' { - declare module.exports: any; -} - -declare module 'polished/lib/color/rgb' { - declare module.exports: any; -} - -declare module 'polished/lib/color/rgba' { - declare module.exports: any; -} - -declare module 'polished/lib/color/saturate' { - declare module.exports: any; -} - -declare module 'polished/lib/color/setHue' { - declare module.exports: any; -} - -declare module 'polished/lib/color/setLightness' { - declare module.exports: any; -} - -declare module 'polished/lib/color/setSaturation' { - declare module.exports: any; -} - -declare module 'polished/lib/color/shade' { - declare module.exports: any; -} - -declare module 'polished/lib/color/tint' { - declare module.exports: any; -} - -declare module 'polished/lib/color/toColorString' { - declare module.exports: any; -} - -declare module 'polished/lib/color/transparentize' { - declare module.exports: any; -} - -declare module 'polished/lib/helpers/directionalProperty' { - declare module.exports: any; -} - -declare module 'polished/lib/helpers/em' { - declare module.exports: any; -} - -declare module 'polished/lib/helpers/modularScale' { - declare module.exports: any; -} - -declare module 'polished/lib/helpers/rem' { - declare module.exports: any; -} - -declare module 'polished/lib/helpers/stripUnit' { - declare module.exports: any; -} - -declare module 'polished/lib/index' { - declare module.exports: any; -} - -declare module 'polished/lib/internalHelpers/_capitalizeString' { - declare module.exports: any; -} - -declare module 'polished/lib/internalHelpers/_curry' { - declare module.exports: any; -} - -declare module 'polished/lib/internalHelpers/_endsWith' { - declare module.exports: any; -} - -declare module 'polished/lib/internalHelpers/_guard' { - declare module.exports: any; -} - -declare module 'polished/lib/internalHelpers/_hslToHex' { - declare module.exports: any; -} - -declare module 'polished/lib/internalHelpers/_hslToRgb' { - declare module.exports: any; -} - -declare module 'polished/lib/internalHelpers/_isValidDimensionValue' { - declare module.exports: any; -} - -declare module 'polished/lib/internalHelpers/_nameToHex' { - declare module.exports: any; -} - -declare module 'polished/lib/internalHelpers/_numberToHex' { - declare module.exports: any; -} - -declare module 'polished/lib/internalHelpers/_polishedLogs' { - declare module.exports: any; -} - -declare module 'polished/lib/internalHelpers/_pxto' { - declare module.exports: any; -} - -declare module 'polished/lib/internalHelpers/_reduceHexValue' { - declare module.exports: any; -} - -declare module 'polished/lib/internalHelpers/_rgbToHsl' { - declare module.exports: any; -} - -declare module 'polished/lib/internalHelpers/_statefulSelectors' { - declare module.exports: any; -} - -declare module 'polished/lib/mixins/clearFix' { - declare module.exports: any; -} - -declare module 'polished/lib/mixins/ellipsis' { - declare module.exports: any; -} - -declare module 'polished/lib/mixins/fontFace' { - declare module.exports: any; -} - -declare module 'polished/lib/mixins/hideText' { - declare module.exports: any; -} - -declare module 'polished/lib/mixins/hiDPI' { - declare module.exports: any; -} - -declare module 'polished/lib/mixins/normalize' { - declare module.exports: any; -} - -declare module 'polished/lib/mixins/placeholder' { - declare module.exports: any; -} - -declare module 'polished/lib/mixins/radialGradient' { - declare module.exports: any; -} - -declare module 'polished/lib/mixins/retinaImage' { - declare module.exports: any; -} - -declare module 'polished/lib/mixins/selection' { - declare module.exports: any; -} - -declare module 'polished/lib/mixins/timingFunctions' { - declare module.exports: any; -} - -declare module 'polished/lib/mixins/triangle' { - declare module.exports: any; -} - -declare module 'polished/lib/mixins/wordWrap' { - declare module.exports: any; -} - -declare module 'polished/lib/shorthands/animation' { - declare module.exports: any; -} - -declare module 'polished/lib/shorthands/backgroundImages' { - declare module.exports: any; -} - -declare module 'polished/lib/shorthands/backgrounds' { - declare module.exports: any; -} - -declare module 'polished/lib/shorthands/borderColor' { - declare module.exports: any; -} - -declare module 'polished/lib/shorthands/borderRadius' { - declare module.exports: any; -} - -declare module 'polished/lib/shorthands/borderStyle' { - declare module.exports: any; -} - -declare module 'polished/lib/shorthands/borderWidth' { - declare module.exports: any; -} - -declare module 'polished/lib/shorthands/buttons' { - declare module.exports: any; -} - -declare module 'polished/lib/shorthands/margin' { - declare module.exports: any; -} - -declare module 'polished/lib/shorthands/padding' { - declare module.exports: any; -} - -declare module 'polished/lib/shorthands/position' { - declare module.exports: any; -} - -declare module 'polished/lib/shorthands/size' { - declare module.exports: any; -} - -declare module 'polished/lib/shorthands/textInputs' { - declare module.exports: any; -} - -declare module 'polished/lib/shorthands/transitions' { - declare module.exports: any; -} - -declare module 'polished/lib/types/color' { - declare module.exports: any; -} - -declare module 'polished/rollup.config' { - declare module.exports: any; -} - -declare module 'polished/src/color/adjustHue' { - declare module.exports: any; -} - -declare module 'polished/src/color/complement' { - declare module.exports: any; -} - -declare module 'polished/src/color/darken' { - declare module.exports: any; -} - -declare module 'polished/src/color/desaturate' { - declare module.exports: any; -} - -declare module 'polished/src/color/grayscale' { - declare module.exports: any; -} - -declare module 'polished/src/color/hsl' { - declare module.exports: any; -} - -declare module 'polished/src/color/hsla' { - declare module.exports: any; -} - -declare module 'polished/src/color/invert' { - declare module.exports: any; -} - -declare module 'polished/src/color/lighten' { - declare module.exports: any; -} - -declare module 'polished/src/color/mix' { - declare module.exports: any; -} - -declare module 'polished/src/color/opacify' { - declare module.exports: any; -} - -declare module 'polished/src/color/parseToHsl' { - declare module.exports: any; -} - -declare module 'polished/src/color/parseToRgb' { - declare module.exports: any; -} - -declare module 'polished/src/color/rgb' { - declare module.exports: any; -} - -declare module 'polished/src/color/rgba' { - declare module.exports: any; -} - -declare module 'polished/src/color/saturate' { - declare module.exports: any; -} - -declare module 'polished/src/color/setHue' { - declare module.exports: any; -} - -declare module 'polished/src/color/setLightness' { - declare module.exports: any; -} - -declare module 'polished/src/color/setSaturation' { - declare module.exports: any; -} - -declare module 'polished/src/color/shade' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/adjustHue.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/complement.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/darken.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/desaturate.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/grayscale.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/hsl.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/hsla.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/invert.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/lighten.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/mix.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/opacify.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/parseToHsl.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/parseToRgb.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/rgb.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/rgba.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/saturate.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/setHue.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/setLightness.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/setSaturation.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/shade.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/tint.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/toColorString.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/test/transparentize.test' { - declare module.exports: any; -} - -declare module 'polished/src/color/tint' { - declare module.exports: any; -} - -declare module 'polished/src/color/toColorString' { - declare module.exports: any; -} - -declare module 'polished/src/color/transparentize' { - declare module.exports: any; -} - -declare module 'polished/src/helpers/directionalProperty' { - declare module.exports: any; -} - -declare module 'polished/src/helpers/em' { - declare module.exports: any; -} - -declare module 'polished/src/helpers/modularScale' { - declare module.exports: any; -} - -declare module 'polished/src/helpers/rem' { - declare module.exports: any; -} - -declare module 'polished/src/helpers/stripUnit' { - declare module.exports: any; -} - -declare module 'polished/src/helpers/test/directionalProperty.test' { - declare module.exports: any; -} - -declare module 'polished/src/helpers/test/em.test' { - declare module.exports: any; -} - -declare module 'polished/src/helpers/test/modularScale.test' { - declare module.exports: any; -} - -declare module 'polished/src/helpers/test/rem.test' { - declare module.exports: any; -} - -declare module 'polished/src/helpers/test/stripUnit.test' { - declare module.exports: any; -} - -declare module 'polished/src/index' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/_capitalizeString' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/_curry' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/_endsWith' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/_guard' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/_hslToHex' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/_hslToRgb' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/_isValidDimensionValue' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/_nameToHex' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/_numberToHex' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/_polishedLogs' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/_pxto' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/_reduceHexValue' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/_rgbToHsl' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/_statefulSelectors' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/test/_capitalizeString.test' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/test/_curry.test' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/test/_guard.test' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/test/_hslToHex.test' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/test/_hslToRgb.test' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/test/_nameToHex.test' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/test/_numberToHex.test' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/test/_pxto.test' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/test/_reduceHexValue.test' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/test/_rgbToHsl.test' { - declare module.exports: any; -} - -declare module 'polished/src/internalHelpers/test/_statefulSelectors.test' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/clearFix' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/ellipsis' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/fontFace' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/hideText' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/hiDPI' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/normalize' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/placeholder' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/radialGradient' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/retinaImage' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/selection' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/test/clearFix.test' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/test/ellipsis.test' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/test/fontFace.test' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/test/hideText.test' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/test/hiDPI.test' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/test/normalize.test' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/test/placeholder.test' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/test/radialGradient.test' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/test/retinaImage.test' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/test/selection.test' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/test/timingFunctions.test' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/test/triangle.test' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/test/wordWrap.test' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/timingFunctions' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/triangle' { - declare module.exports: any; -} - -declare module 'polished/src/mixins/wordWrap' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/animation' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/backgroundImages' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/backgrounds' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/borderColor' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/borderRadius' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/borderStyle' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/borderWidth' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/buttons' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/margin' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/padding' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/position' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/size' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/test/animation.test' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/test/backgroundImages.test' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/test/backgrounds.test' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/test/borderColor.test' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/test/borderRadius.test' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/test/borderStyle.test' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/test/borderWidth.test' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/test/buttons.test' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/test/margin.test' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/test/padding.test' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/test/position.test' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/test/size.test' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/test/textInputs.test' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/test/transitions.test' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/textInputs' { - declare module.exports: any; -} - -declare module 'polished/src/shorthands/transitions' { - declare module.exports: any; -} - -declare module 'polished/src/types/color' { - declare module.exports: any; -} - -// Filename aliases -declare module 'polished/dist/polished.es.js' { - declare module.exports: $Exports<'polished/dist/polished.es'>; -} -declare module 'polished/dist/polished.js' { - declare module.exports: $Exports<'polished/dist/polished'>; -} -declare module 'polished/dist/polished.min.js' { - declare module.exports: $Exports<'polished/dist/polished.min'>; -} -declare module 'polished/docs-theme/assets/anchor.js' { - declare module.exports: $Exports<'polished/docs-theme/assets/anchor'>; -} -declare module 'polished/docs-theme/assets/docs.js' { - declare module.exports: $Exports<'polished/docs-theme/assets/docs'>; -} -declare module 'polished/docs-theme/assets/highlight.pack.js' { - declare module.exports: $Exports<'polished/docs-theme/assets/highlight.pack'>; -} -declare module 'polished/docs-theme/assets/script.js' { - declare module.exports: $Exports<'polished/docs-theme/assets/script'>; -} -declare module 'polished/docs-theme/index.js' { - declare module.exports: $Exports<'polished/docs-theme/index'>; -} -declare module 'polished/docs-theme/markdown.js' { - declare module.exports: $Exports<'polished/docs-theme/markdown'>; -} -declare module 'polished/docs/assets/anchor.js' { - declare module.exports: $Exports<'polished/docs/assets/anchor'>; -} -declare module 'polished/docs/assets/docs.js' { - declare module.exports: $Exports<'polished/docs/assets/docs'>; -} -declare module 'polished/docs/assets/highlight.pack.js' { - declare module.exports: $Exports<'polished/docs/assets/highlight.pack'>; -} -declare module 'polished/docs/assets/polished.js' { - declare module.exports: $Exports<'polished/docs/assets/polished'>; -} -declare module 'polished/docs/assets/script.js' { - declare module.exports: $Exports<'polished/docs/assets/script'>; -} -declare module 'polished/flow-typed/npm/babel-cli_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/babel-cli_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/babel-core_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/babel-core_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/babel-eslint_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/babel-eslint_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/babel-jest_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/babel-jest_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/babel-loader_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/babel-loader_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/babel-plugin-add-module-exports_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/babel-plugin-add-module-exports_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/babel-plugin-external-helpers_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/babel-plugin-external-helpers_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/babel-plugin-transform-flow-strip-types_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/babel-plugin-transform-flow-strip-types_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/babel-plugin-transform-object-rest-spread_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/babel-plugin-transform-object-rest-spread_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/babel-polyfill_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/babel-polyfill_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/babel-preset-latest_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/babel-preset-latest_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/concat-stream_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/concat-stream_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/cz-conventional-changelog_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/cz-conventional-changelog_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/documentation_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/documentation_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/eslint_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/eslint_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/eslint-config-airbnb-base_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/eslint-config-airbnb-base_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/eslint-plugin-import_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/eslint-plugin-import_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/flow-bin_v0.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/flow-bin_v0.x.x'>; -} -declare module 'polished/flow-typed/npm/flow-copy-source_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/flow-copy-source_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/ghooks_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/ghooks_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/github-slugger_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/github-slugger_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/highlight.js_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/highlight.js_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/jest_v16.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/jest_v16.x.x'>; -} -declare module 'polished/flow-typed/npm/lodash_v4.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/lodash_v4.x.x'>; -} -declare module 'polished/flow-typed/npm/npm-watch_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/npm-watch_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/polished_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/polished_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/pushstate-server_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/pushstate-server_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/ramda_v0.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/ramda_v0.x.x'>; -} -declare module 'polished/flow-typed/npm/rollup_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/rollup_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/rollup-plugin-babel_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/rollup-plugin-babel_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/rollup-plugin-commonjs_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/rollup-plugin-commonjs_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/rollup-plugin-flow_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/rollup-plugin-flow_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/rollup-plugin-inject_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/rollup-plugin-inject_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/rollup-plugin-json_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/rollup-plugin-json_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/rollup-plugin-node-resolve_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/rollup-plugin-node-resolve_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/rollup-plugin-replace_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/rollup-plugin-replace_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/rollup-plugin-uglify_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/rollup-plugin-uglify_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/shx_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/shx_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/validate-commit-msg_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/validate-commit-msg_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/vinyl_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/vinyl_vx.x.x'>; -} -declare module 'polished/flow-typed/npm/vinyl-fs_vx.x.x.js' { - declare module.exports: $Exports<'polished/flow-typed/npm/vinyl-fs_vx.x.x'>; -} -declare module 'polished/lib/color/adjustHue.js' { - declare module.exports: $Exports<'polished/lib/color/adjustHue'>; -} -declare module 'polished/lib/color/complement.js' { - declare module.exports: $Exports<'polished/lib/color/complement'>; -} -declare module 'polished/lib/color/darken.js' { - declare module.exports: $Exports<'polished/lib/color/darken'>; -} -declare module 'polished/lib/color/desaturate.js' { - declare module.exports: $Exports<'polished/lib/color/desaturate'>; -} -declare module 'polished/lib/color/grayscale.js' { - declare module.exports: $Exports<'polished/lib/color/grayscale'>; -} -declare module 'polished/lib/color/hsl.js' { - declare module.exports: $Exports<'polished/lib/color/hsl'>; -} -declare module 'polished/lib/color/hsla.js' { - declare module.exports: $Exports<'polished/lib/color/hsla'>; -} -declare module 'polished/lib/color/invert.js' { - declare module.exports: $Exports<'polished/lib/color/invert'>; -} -declare module 'polished/lib/color/lighten.js' { - declare module.exports: $Exports<'polished/lib/color/lighten'>; -} -declare module 'polished/lib/color/mix.js' { - declare module.exports: $Exports<'polished/lib/color/mix'>; -} -declare module 'polished/lib/color/opacify.js' { - declare module.exports: $Exports<'polished/lib/color/opacify'>; -} -declare module 'polished/lib/color/parseToHsl.js' { - declare module.exports: $Exports<'polished/lib/color/parseToHsl'>; -} -declare module 'polished/lib/color/parseToRgb.js' { - declare module.exports: $Exports<'polished/lib/color/parseToRgb'>; -} -declare module 'polished/lib/color/rgb.js' { - declare module.exports: $Exports<'polished/lib/color/rgb'>; -} -declare module 'polished/lib/color/rgba.js' { - declare module.exports: $Exports<'polished/lib/color/rgba'>; -} -declare module 'polished/lib/color/saturate.js' { - declare module.exports: $Exports<'polished/lib/color/saturate'>; -} -declare module 'polished/lib/color/setHue.js' { - declare module.exports: $Exports<'polished/lib/color/setHue'>; -} -declare module 'polished/lib/color/setLightness.js' { - declare module.exports: $Exports<'polished/lib/color/setLightness'>; -} -declare module 'polished/lib/color/setSaturation.js' { - declare module.exports: $Exports<'polished/lib/color/setSaturation'>; -} -declare module 'polished/lib/color/shade.js' { - declare module.exports: $Exports<'polished/lib/color/shade'>; -} -declare module 'polished/lib/color/tint.js' { - declare module.exports: $Exports<'polished/lib/color/tint'>; -} -declare module 'polished/lib/color/toColorString.js' { - declare module.exports: $Exports<'polished/lib/color/toColorString'>; -} -declare module 'polished/lib/color/transparentize.js' { - declare module.exports: $Exports<'polished/lib/color/transparentize'>; -} -declare module 'polished/lib/helpers/directionalProperty.js' { - declare module.exports: $Exports<'polished/lib/helpers/directionalProperty'>; -} -declare module 'polished/lib/helpers/em.js' { - declare module.exports: $Exports<'polished/lib/helpers/em'>; -} -declare module 'polished/lib/helpers/modularScale.js' { - declare module.exports: $Exports<'polished/lib/helpers/modularScale'>; -} -declare module 'polished/lib/helpers/rem.js' { - declare module.exports: $Exports<'polished/lib/helpers/rem'>; -} -declare module 'polished/lib/helpers/stripUnit.js' { - declare module.exports: $Exports<'polished/lib/helpers/stripUnit'>; -} -declare module 'polished/lib/index.js' { - declare module.exports: $Exports<'polished/lib/index'>; -} -declare module 'polished/lib/internalHelpers/_capitalizeString.js' { - declare module.exports: $Exports<'polished/lib/internalHelpers/_capitalizeString'>; -} -declare module 'polished/lib/internalHelpers/_curry.js' { - declare module.exports: $Exports<'polished/lib/internalHelpers/_curry'>; -} -declare module 'polished/lib/internalHelpers/_endsWith.js' { - declare module.exports: $Exports<'polished/lib/internalHelpers/_endsWith'>; -} -declare module 'polished/lib/internalHelpers/_guard.js' { - declare module.exports: $Exports<'polished/lib/internalHelpers/_guard'>; -} -declare module 'polished/lib/internalHelpers/_hslToHex.js' { - declare module.exports: $Exports<'polished/lib/internalHelpers/_hslToHex'>; -} -declare module 'polished/lib/internalHelpers/_hslToRgb.js' { - declare module.exports: $Exports<'polished/lib/internalHelpers/_hslToRgb'>; -} -declare module 'polished/lib/internalHelpers/_isValidDimensionValue.js' { - declare module.exports: $Exports<'polished/lib/internalHelpers/_isValidDimensionValue'>; -} -declare module 'polished/lib/internalHelpers/_nameToHex.js' { - declare module.exports: $Exports<'polished/lib/internalHelpers/_nameToHex'>; -} -declare module 'polished/lib/internalHelpers/_numberToHex.js' { - declare module.exports: $Exports<'polished/lib/internalHelpers/_numberToHex'>; -} -declare module 'polished/lib/internalHelpers/_polishedLogs.js' { - declare module.exports: $Exports<'polished/lib/internalHelpers/_polishedLogs'>; -} -declare module 'polished/lib/internalHelpers/_pxto.js' { - declare module.exports: $Exports<'polished/lib/internalHelpers/_pxto'>; -} -declare module 'polished/lib/internalHelpers/_reduceHexValue.js' { - declare module.exports: $Exports<'polished/lib/internalHelpers/_reduceHexValue'>; -} -declare module 'polished/lib/internalHelpers/_rgbToHsl.js' { - declare module.exports: $Exports<'polished/lib/internalHelpers/_rgbToHsl'>; -} -declare module 'polished/lib/internalHelpers/_statefulSelectors.js' { - declare module.exports: $Exports<'polished/lib/internalHelpers/_statefulSelectors'>; -} -declare module 'polished/lib/mixins/clearFix.js' { - declare module.exports: $Exports<'polished/lib/mixins/clearFix'>; -} -declare module 'polished/lib/mixins/ellipsis.js' { - declare module.exports: $Exports<'polished/lib/mixins/ellipsis'>; -} -declare module 'polished/lib/mixins/fontFace.js' { - declare module.exports: $Exports<'polished/lib/mixins/fontFace'>; -} -declare module 'polished/lib/mixins/hideText.js' { - declare module.exports: $Exports<'polished/lib/mixins/hideText'>; -} -declare module 'polished/lib/mixins/hiDPI.js' { - declare module.exports: $Exports<'polished/lib/mixins/hiDPI'>; -} -declare module 'polished/lib/mixins/normalize.js' { - declare module.exports: $Exports<'polished/lib/mixins/normalize'>; -} -declare module 'polished/lib/mixins/placeholder.js' { - declare module.exports: $Exports<'polished/lib/mixins/placeholder'>; -} -declare module 'polished/lib/mixins/radialGradient.js' { - declare module.exports: $Exports<'polished/lib/mixins/radialGradient'>; -} -declare module 'polished/lib/mixins/retinaImage.js' { - declare module.exports: $Exports<'polished/lib/mixins/retinaImage'>; -} -declare module 'polished/lib/mixins/selection.js' { - declare module.exports: $Exports<'polished/lib/mixins/selection'>; -} -declare module 'polished/lib/mixins/timingFunctions.js' { - declare module.exports: $Exports<'polished/lib/mixins/timingFunctions'>; -} -declare module 'polished/lib/mixins/triangle.js' { - declare module.exports: $Exports<'polished/lib/mixins/triangle'>; -} -declare module 'polished/lib/mixins/wordWrap.js' { - declare module.exports: $Exports<'polished/lib/mixins/wordWrap'>; -} -declare module 'polished/lib/shorthands/animation.js' { - declare module.exports: $Exports<'polished/lib/shorthands/animation'>; -} -declare module 'polished/lib/shorthands/backgroundImages.js' { - declare module.exports: $Exports<'polished/lib/shorthands/backgroundImages'>; -} -declare module 'polished/lib/shorthands/backgrounds.js' { - declare module.exports: $Exports<'polished/lib/shorthands/backgrounds'>; -} -declare module 'polished/lib/shorthands/borderColor.js' { - declare module.exports: $Exports<'polished/lib/shorthands/borderColor'>; -} -declare module 'polished/lib/shorthands/borderRadius.js' { - declare module.exports: $Exports<'polished/lib/shorthands/borderRadius'>; -} -declare module 'polished/lib/shorthands/borderStyle.js' { - declare module.exports: $Exports<'polished/lib/shorthands/borderStyle'>; -} -declare module 'polished/lib/shorthands/borderWidth.js' { - declare module.exports: $Exports<'polished/lib/shorthands/borderWidth'>; -} -declare module 'polished/lib/shorthands/buttons.js' { - declare module.exports: $Exports<'polished/lib/shorthands/buttons'>; -} -declare module 'polished/lib/shorthands/margin.js' { - declare module.exports: $Exports<'polished/lib/shorthands/margin'>; -} -declare module 'polished/lib/shorthands/padding.js' { - declare module.exports: $Exports<'polished/lib/shorthands/padding'>; -} -declare module 'polished/lib/shorthands/position.js' { - declare module.exports: $Exports<'polished/lib/shorthands/position'>; -} -declare module 'polished/lib/shorthands/size.js' { - declare module.exports: $Exports<'polished/lib/shorthands/size'>; -} -declare module 'polished/lib/shorthands/textInputs.js' { - declare module.exports: $Exports<'polished/lib/shorthands/textInputs'>; -} -declare module 'polished/lib/shorthands/transitions.js' { - declare module.exports: $Exports<'polished/lib/shorthands/transitions'>; -} -declare module 'polished/lib/types/color.js' { - declare module.exports: $Exports<'polished/lib/types/color'>; -} -declare module 'polished/rollup.config.js' { - declare module.exports: $Exports<'polished/rollup.config'>; -} -declare module 'polished/src/color/adjustHue.js' { - declare module.exports: $Exports<'polished/src/color/adjustHue'>; -} -declare module 'polished/src/color/complement.js' { - declare module.exports: $Exports<'polished/src/color/complement'>; -} -declare module 'polished/src/color/darken.js' { - declare module.exports: $Exports<'polished/src/color/darken'>; -} -declare module 'polished/src/color/desaturate.js' { - declare module.exports: $Exports<'polished/src/color/desaturate'>; -} -declare module 'polished/src/color/grayscale.js' { - declare module.exports: $Exports<'polished/src/color/grayscale'>; -} -declare module 'polished/src/color/hsl.js' { - declare module.exports: $Exports<'polished/src/color/hsl'>; -} -declare module 'polished/src/color/hsla.js' { - declare module.exports: $Exports<'polished/src/color/hsla'>; -} -declare module 'polished/src/color/invert.js' { - declare module.exports: $Exports<'polished/src/color/invert'>; -} -declare module 'polished/src/color/lighten.js' { - declare module.exports: $Exports<'polished/src/color/lighten'>; -} -declare module 'polished/src/color/mix.js' { - declare module.exports: $Exports<'polished/src/color/mix'>; -} -declare module 'polished/src/color/opacify.js' { - declare module.exports: $Exports<'polished/src/color/opacify'>; -} -declare module 'polished/src/color/parseToHsl.js' { - declare module.exports: $Exports<'polished/src/color/parseToHsl'>; -} -declare module 'polished/src/color/parseToRgb.js' { - declare module.exports: $Exports<'polished/src/color/parseToRgb'>; -} -declare module 'polished/src/color/rgb.js' { - declare module.exports: $Exports<'polished/src/color/rgb'>; -} -declare module 'polished/src/color/rgba.js' { - declare module.exports: $Exports<'polished/src/color/rgba'>; -} -declare module 'polished/src/color/saturate.js' { - declare module.exports: $Exports<'polished/src/color/saturate'>; -} -declare module 'polished/src/color/setHue.js' { - declare module.exports: $Exports<'polished/src/color/setHue'>; -} -declare module 'polished/src/color/setLightness.js' { - declare module.exports: $Exports<'polished/src/color/setLightness'>; -} -declare module 'polished/src/color/setSaturation.js' { - declare module.exports: $Exports<'polished/src/color/setSaturation'>; -} -declare module 'polished/src/color/shade.js' { - declare module.exports: $Exports<'polished/src/color/shade'>; -} -declare module 'polished/src/color/test/adjustHue.test.js' { - declare module.exports: $Exports<'polished/src/color/test/adjustHue.test'>; -} -declare module 'polished/src/color/test/complement.test.js' { - declare module.exports: $Exports<'polished/src/color/test/complement.test'>; -} -declare module 'polished/src/color/test/darken.test.js' { - declare module.exports: $Exports<'polished/src/color/test/darken.test'>; -} -declare module 'polished/src/color/test/desaturate.test.js' { - declare module.exports: $Exports<'polished/src/color/test/desaturate.test'>; -} -declare module 'polished/src/color/test/grayscale.test.js' { - declare module.exports: $Exports<'polished/src/color/test/grayscale.test'>; -} -declare module 'polished/src/color/test/hsl.test.js' { - declare module.exports: $Exports<'polished/src/color/test/hsl.test'>; -} -declare module 'polished/src/color/test/hsla.test.js' { - declare module.exports: $Exports<'polished/src/color/test/hsla.test'>; -} -declare module 'polished/src/color/test/invert.test.js' { - declare module.exports: $Exports<'polished/src/color/test/invert.test'>; -} -declare module 'polished/src/color/test/lighten.test.js' { - declare module.exports: $Exports<'polished/src/color/test/lighten.test'>; -} -declare module 'polished/src/color/test/mix.test.js' { - declare module.exports: $Exports<'polished/src/color/test/mix.test'>; -} -declare module 'polished/src/color/test/opacify.test.js' { - declare module.exports: $Exports<'polished/src/color/test/opacify.test'>; -} -declare module 'polished/src/color/test/parseToHsl.test.js' { - declare module.exports: $Exports<'polished/src/color/test/parseToHsl.test'>; -} -declare module 'polished/src/color/test/parseToRgb.test.js' { - declare module.exports: $Exports<'polished/src/color/test/parseToRgb.test'>; -} -declare module 'polished/src/color/test/rgb.test.js' { - declare module.exports: $Exports<'polished/src/color/test/rgb.test'>; -} -declare module 'polished/src/color/test/rgba.test.js' { - declare module.exports: $Exports<'polished/src/color/test/rgba.test'>; -} -declare module 'polished/src/color/test/saturate.test.js' { - declare module.exports: $Exports<'polished/src/color/test/saturate.test'>; -} -declare module 'polished/src/color/test/setHue.test.js' { - declare module.exports: $Exports<'polished/src/color/test/setHue.test'>; -} -declare module 'polished/src/color/test/setLightness.test.js' { - declare module.exports: $Exports<'polished/src/color/test/setLightness.test'>; -} -declare module 'polished/src/color/test/setSaturation.test.js' { - declare module.exports: $Exports<'polished/src/color/test/setSaturation.test'>; -} -declare module 'polished/src/color/test/shade.test.js' { - declare module.exports: $Exports<'polished/src/color/test/shade.test'>; -} -declare module 'polished/src/color/test/tint.test.js' { - declare module.exports: $Exports<'polished/src/color/test/tint.test'>; -} -declare module 'polished/src/color/test/toColorString.test.js' { - declare module.exports: $Exports<'polished/src/color/test/toColorString.test'>; -} -declare module 'polished/src/color/test/transparentize.test.js' { - declare module.exports: $Exports<'polished/src/color/test/transparentize.test'>; -} -declare module 'polished/src/color/tint.js' { - declare module.exports: $Exports<'polished/src/color/tint'>; -} -declare module 'polished/src/color/toColorString.js' { - declare module.exports: $Exports<'polished/src/color/toColorString'>; -} -declare module 'polished/src/color/transparentize.js' { - declare module.exports: $Exports<'polished/src/color/transparentize'>; -} -declare module 'polished/src/helpers/directionalProperty.js' { - declare module.exports: $Exports<'polished/src/helpers/directionalProperty'>; -} -declare module 'polished/src/helpers/em.js' { - declare module.exports: $Exports<'polished/src/helpers/em'>; -} -declare module 'polished/src/helpers/modularScale.js' { - declare module.exports: $Exports<'polished/src/helpers/modularScale'>; -} -declare module 'polished/src/helpers/rem.js' { - declare module.exports: $Exports<'polished/src/helpers/rem'>; -} -declare module 'polished/src/helpers/stripUnit.js' { - declare module.exports: $Exports<'polished/src/helpers/stripUnit'>; -} -declare module 'polished/src/helpers/test/directionalProperty.test.js' { - declare module.exports: $Exports<'polished/src/helpers/test/directionalProperty.test'>; -} -declare module 'polished/src/helpers/test/em.test.js' { - declare module.exports: $Exports<'polished/src/helpers/test/em.test'>; -} -declare module 'polished/src/helpers/test/modularScale.test.js' { - declare module.exports: $Exports<'polished/src/helpers/test/modularScale.test'>; -} -declare module 'polished/src/helpers/test/rem.test.js' { - declare module.exports: $Exports<'polished/src/helpers/test/rem.test'>; -} -declare module 'polished/src/helpers/test/stripUnit.test.js' { - declare module.exports: $Exports<'polished/src/helpers/test/stripUnit.test'>; -} -declare module 'polished/src/index.js' { - declare module.exports: $Exports<'polished/src/index'>; -} -declare module 'polished/src/internalHelpers/_capitalizeString.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/_capitalizeString'>; -} -declare module 'polished/src/internalHelpers/_curry.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/_curry'>; -} -declare module 'polished/src/internalHelpers/_endsWith.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/_endsWith'>; -} -declare module 'polished/src/internalHelpers/_guard.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/_guard'>; -} -declare module 'polished/src/internalHelpers/_hslToHex.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/_hslToHex'>; -} -declare module 'polished/src/internalHelpers/_hslToRgb.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/_hslToRgb'>; -} -declare module 'polished/src/internalHelpers/_isValidDimensionValue.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/_isValidDimensionValue'>; -} -declare module 'polished/src/internalHelpers/_nameToHex.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/_nameToHex'>; -} -declare module 'polished/src/internalHelpers/_numberToHex.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/_numberToHex'>; -} -declare module 'polished/src/internalHelpers/_polishedLogs.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/_polishedLogs'>; -} -declare module 'polished/src/internalHelpers/_pxto.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/_pxto'>; -} -declare module 'polished/src/internalHelpers/_reduceHexValue.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/_reduceHexValue'>; -} -declare module 'polished/src/internalHelpers/_rgbToHsl.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/_rgbToHsl'>; -} -declare module 'polished/src/internalHelpers/_statefulSelectors.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/_statefulSelectors'>; -} -declare module 'polished/src/internalHelpers/test/_capitalizeString.test.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/test/_capitalizeString.test'>; -} -declare module 'polished/src/internalHelpers/test/_curry.test.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/test/_curry.test'>; -} -declare module 'polished/src/internalHelpers/test/_guard.test.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/test/_guard.test'>; -} -declare module 'polished/src/internalHelpers/test/_hslToHex.test.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/test/_hslToHex.test'>; -} -declare module 'polished/src/internalHelpers/test/_hslToRgb.test.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/test/_hslToRgb.test'>; -} -declare module 'polished/src/internalHelpers/test/_nameToHex.test.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/test/_nameToHex.test'>; -} -declare module 'polished/src/internalHelpers/test/_numberToHex.test.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/test/_numberToHex.test'>; -} -declare module 'polished/src/internalHelpers/test/_pxto.test.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/test/_pxto.test'>; -} -declare module 'polished/src/internalHelpers/test/_reduceHexValue.test.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/test/_reduceHexValue.test'>; -} -declare module 'polished/src/internalHelpers/test/_rgbToHsl.test.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/test/_rgbToHsl.test'>; -} -declare module 'polished/src/internalHelpers/test/_statefulSelectors.test.js' { - declare module.exports: $Exports<'polished/src/internalHelpers/test/_statefulSelectors.test'>; -} -declare module 'polished/src/mixins/clearFix.js' { - declare module.exports: $Exports<'polished/src/mixins/clearFix'>; -} -declare module 'polished/src/mixins/ellipsis.js' { - declare module.exports: $Exports<'polished/src/mixins/ellipsis'>; -} -declare module 'polished/src/mixins/fontFace.js' { - declare module.exports: $Exports<'polished/src/mixins/fontFace'>; -} -declare module 'polished/src/mixins/hideText.js' { - declare module.exports: $Exports<'polished/src/mixins/hideText'>; -} -declare module 'polished/src/mixins/hiDPI.js' { - declare module.exports: $Exports<'polished/src/mixins/hiDPI'>; -} -declare module 'polished/src/mixins/normalize.js' { - declare module.exports: $Exports<'polished/src/mixins/normalize'>; -} -declare module 'polished/src/mixins/placeholder.js' { - declare module.exports: $Exports<'polished/src/mixins/placeholder'>; -} -declare module 'polished/src/mixins/radialGradient.js' { - declare module.exports: $Exports<'polished/src/mixins/radialGradient'>; -} -declare module 'polished/src/mixins/retinaImage.js' { - declare module.exports: $Exports<'polished/src/mixins/retinaImage'>; -} -declare module 'polished/src/mixins/selection.js' { - declare module.exports: $Exports<'polished/src/mixins/selection'>; -} -declare module 'polished/src/mixins/test/clearFix.test.js' { - declare module.exports: $Exports<'polished/src/mixins/test/clearFix.test'>; -} -declare module 'polished/src/mixins/test/ellipsis.test.js' { - declare module.exports: $Exports<'polished/src/mixins/test/ellipsis.test'>; -} -declare module 'polished/src/mixins/test/fontFace.test.js' { - declare module.exports: $Exports<'polished/src/mixins/test/fontFace.test'>; -} -declare module 'polished/src/mixins/test/hideText.test.js' { - declare module.exports: $Exports<'polished/src/mixins/test/hideText.test'>; -} -declare module 'polished/src/mixins/test/hiDPI.test.js' { - declare module.exports: $Exports<'polished/src/mixins/test/hiDPI.test'>; -} -declare module 'polished/src/mixins/test/normalize.test.js' { - declare module.exports: $Exports<'polished/src/mixins/test/normalize.test'>; -} -declare module 'polished/src/mixins/test/placeholder.test.js' { - declare module.exports: $Exports<'polished/src/mixins/test/placeholder.test'>; -} -declare module 'polished/src/mixins/test/radialGradient.test.js' { - declare module.exports: $Exports<'polished/src/mixins/test/radialGradient.test'>; -} -declare module 'polished/src/mixins/test/retinaImage.test.js' { - declare module.exports: $Exports<'polished/src/mixins/test/retinaImage.test'>; -} -declare module 'polished/src/mixins/test/selection.test.js' { - declare module.exports: $Exports<'polished/src/mixins/test/selection.test'>; -} -declare module 'polished/src/mixins/test/timingFunctions.test.js' { - declare module.exports: $Exports<'polished/src/mixins/test/timingFunctions.test'>; -} -declare module 'polished/src/mixins/test/triangle.test.js' { - declare module.exports: $Exports<'polished/src/mixins/test/triangle.test'>; -} -declare module 'polished/src/mixins/test/wordWrap.test.js' { - declare module.exports: $Exports<'polished/src/mixins/test/wordWrap.test'>; -} -declare module 'polished/src/mixins/timingFunctions.js' { - declare module.exports: $Exports<'polished/src/mixins/timingFunctions'>; -} -declare module 'polished/src/mixins/triangle.js' { - declare module.exports: $Exports<'polished/src/mixins/triangle'>; -} -declare module 'polished/src/mixins/wordWrap.js' { - declare module.exports: $Exports<'polished/src/mixins/wordWrap'>; -} -declare module 'polished/src/shorthands/animation.js' { - declare module.exports: $Exports<'polished/src/shorthands/animation'>; -} -declare module 'polished/src/shorthands/backgroundImages.js' { - declare module.exports: $Exports<'polished/src/shorthands/backgroundImages'>; -} -declare module 'polished/src/shorthands/backgrounds.js' { - declare module.exports: $Exports<'polished/src/shorthands/backgrounds'>; -} -declare module 'polished/src/shorthands/borderColor.js' { - declare module.exports: $Exports<'polished/src/shorthands/borderColor'>; -} -declare module 'polished/src/shorthands/borderRadius.js' { - declare module.exports: $Exports<'polished/src/shorthands/borderRadius'>; -} -declare module 'polished/src/shorthands/borderStyle.js' { - declare module.exports: $Exports<'polished/src/shorthands/borderStyle'>; -} -declare module 'polished/src/shorthands/borderWidth.js' { - declare module.exports: $Exports<'polished/src/shorthands/borderWidth'>; -} -declare module 'polished/src/shorthands/buttons.js' { - declare module.exports: $Exports<'polished/src/shorthands/buttons'>; -} -declare module 'polished/src/shorthands/margin.js' { - declare module.exports: $Exports<'polished/src/shorthands/margin'>; -} -declare module 'polished/src/shorthands/padding.js' { - declare module.exports: $Exports<'polished/src/shorthands/padding'>; -} -declare module 'polished/src/shorthands/position.js' { - declare module.exports: $Exports<'polished/src/shorthands/position'>; -} -declare module 'polished/src/shorthands/size.js' { - declare module.exports: $Exports<'polished/src/shorthands/size'>; -} -declare module 'polished/src/shorthands/test/animation.test.js' { - declare module.exports: $Exports<'polished/src/shorthands/test/animation.test'>; -} -declare module 'polished/src/shorthands/test/backgroundImages.test.js' { - declare module.exports: $Exports<'polished/src/shorthands/test/backgroundImages.test'>; -} -declare module 'polished/src/shorthands/test/backgrounds.test.js' { - declare module.exports: $Exports<'polished/src/shorthands/test/backgrounds.test'>; -} -declare module 'polished/src/shorthands/test/borderColor.test.js' { - declare module.exports: $Exports<'polished/src/shorthands/test/borderColor.test'>; -} -declare module 'polished/src/shorthands/test/borderRadius.test.js' { - declare module.exports: $Exports<'polished/src/shorthands/test/borderRadius.test'>; -} -declare module 'polished/src/shorthands/test/borderStyle.test.js' { - declare module.exports: $Exports<'polished/src/shorthands/test/borderStyle.test'>; -} -declare module 'polished/src/shorthands/test/borderWidth.test.js' { - declare module.exports: $Exports<'polished/src/shorthands/test/borderWidth.test'>; -} -declare module 'polished/src/shorthands/test/buttons.test.js' { - declare module.exports: $Exports<'polished/src/shorthands/test/buttons.test'>; -} -declare module 'polished/src/shorthands/test/margin.test.js' { - declare module.exports: $Exports<'polished/src/shorthands/test/margin.test'>; -} -declare module 'polished/src/shorthands/test/padding.test.js' { - declare module.exports: $Exports<'polished/src/shorthands/test/padding.test'>; -} -declare module 'polished/src/shorthands/test/position.test.js' { - declare module.exports: $Exports<'polished/src/shorthands/test/position.test'>; -} -declare module 'polished/src/shorthands/test/size.test.js' { - declare module.exports: $Exports<'polished/src/shorthands/test/size.test'>; -} -declare module 'polished/src/shorthands/test/textInputs.test.js' { - declare module.exports: $Exports<'polished/src/shorthands/test/textInputs.test'>; -} -declare module 'polished/src/shorthands/test/transitions.test.js' { - declare module.exports: $Exports<'polished/src/shorthands/test/transitions.test'>; -} -declare module 'polished/src/shorthands/textInputs.js' { - declare module.exports: $Exports<'polished/src/shorthands/textInputs'>; -} -declare module 'polished/src/shorthands/transitions.js' { - declare module.exports: $Exports<'polished/src/shorthands/transitions'>; -} -declare module 'polished/src/types/color.js' { - declare module.exports: $Exports<'polished/src/types/color'>; -} diff --git a/flow-typed/npm/prettier_vx.x.x.js b/flow-typed/npm/prettier_vx.x.x.js deleted file mode 100644 index 344843eb..00000000 --- a/flow-typed/npm/prettier_vx.x.x.js +++ /dev/null @@ -1,87 +0,0 @@ -// flow-typed signature: 54daf6854025c6e993899c6bdbb8f82d -// flow-typed version: <>/prettier_v^1.5.3/flow_v0.64.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'prettier' - * - * 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 'prettier' { - 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 'prettier/bin/prettier' { - declare module.exports: any; -} - -declare module 'prettier/parser-babylon' { - declare module.exports: any; -} - -declare module 'prettier/parser-flow' { - declare module.exports: any; -} - -declare module 'prettier/parser-graphql' { - declare module.exports: any; -} - -declare module 'prettier/parser-json' { - declare module.exports: any; -} - -declare module 'prettier/parser-parse5' { - declare module.exports: any; -} - -declare module 'prettier/parser-postcss' { - declare module.exports: any; -} - -declare module 'prettier/parser-typescript' { - declare module.exports: any; -} - -// Filename aliases -declare module 'prettier/bin/prettier.js' { - declare module.exports: $Exports<'prettier/bin/prettier'>; -} -declare module 'prettier/index' { - declare module.exports: $Exports<'prettier'>; -} -declare module 'prettier/index.js' { - declare module.exports: $Exports<'prettier'>; -} -declare module 'prettier/parser-babylon.js' { - declare module.exports: $Exports<'prettier/parser-babylon'>; -} -declare module 'prettier/parser-flow.js' { - declare module.exports: $Exports<'prettier/parser-flow'>; -} -declare module 'prettier/parser-graphql.js' { - declare module.exports: $Exports<'prettier/parser-graphql'>; -} -declare module 'prettier/parser-json.js' { - declare module.exports: $Exports<'prettier/parser-json'>; -} -declare module 'prettier/parser-parse5.js' { - declare module.exports: $Exports<'prettier/parser-parse5'>; -} -declare module 'prettier/parser-postcss.js' { - declare module.exports: $Exports<'prettier/parser-postcss'>; -} -declare module 'prettier/parser-typescript.js' { - declare module.exports: $Exports<'prettier/parser-typescript'>; -} diff --git a/flow-typed/npm/pushstate-server_vx.x.x.js b/flow-typed/npm/pushstate-server_vx.x.x.js index 25369fa6..4a74ebcf 100644 --- a/flow-typed/npm/pushstate-server_vx.x.x.js +++ b/flow-typed/npm/pushstate-server_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 67cf2da5fd0b9e31d30cb8bb66315b3d -// flow-typed version: <>/pushstate-server_v3.1.0/flow_v0.98.0 +// flow-typed signature: cc7350a5386143457c59c38772c2525b +// flow-typed version: <>/pushstate-server_v3.1.0/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/ramda_v0.26.x.js b/flow-typed/npm/ramda_v0.26.x.js index 664d495b..79dff4ea 100644 --- a/flow-typed/npm/ramda_v0.26.x.js +++ b/flow-typed/npm/ramda_v0.26.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 6a9603d5cf48ccab5ebf8673df6c9b27 -// flow-typed version: beb33e67ff/ramda_v0.26.x/flow_>=v0.76.x +// flow-typed signature: 3f660ab2306fb89be2a41b2dd3edc047 +// flow-typed version: 96b2a111f3/ramda_v0.26.x/flow_>=v0.76.x /* eslint-disable no-unused-vars, no-redeclare */ @@ -314,48 +314,41 @@ declare module ramda { args: [A, B, C, D, E, F, G, H, I] ) => () => R); - declare type $MakePipeFn = ( - (...args: Args) => any, - UnaryFn - ) => ((...args: Args) => Return); - - declare type $PipeFn = $Call<$MakePipeFn, FirstFn, LastFn>; - declare var pipe: { - B, FN6: UnaryFn>( - ab: FN1, + ( + ab: (...a: Args) => B, bc: UnaryFn, cd: UnaryFn, de: UnaryFn, ef: UnaryFn, - fg: FN6, - ): $PipeFn, + fg: UnaryFn, + ): (...a: Args) => Return, - B, FN5: UnaryFn>( - ab: FN1, + ( + ab: (...a: Args) => B, bc: UnaryFn, cd: UnaryFn, de: UnaryFn, - ef: FN5, - ): $PipeFn, + ef: UnaryFn, + ): (...a: Args) => Return, - B, FN4: UnaryFn>( - ab: FN1, + ( + ab: (...a: Args) => B, bc: UnaryFn, cd: UnaryFn, - de: FN4, - ): $PipeFn, + de: UnaryFn, + ): (...a: Args) => Return, - B, FN3: UnaryFn>( - ab: FN1, + ( + ab: (...a: Args) => B, bc: UnaryFn, - cd: FN3, - ): $PipeFn, + cd: UnaryFn, + ): (...a: Args) => Return, - B, FN2: UnaryFn>( - ab: FN1, - bc: FN2, - ): $PipeFn, + ( + ab: (...a: Args) => B, + bc: UnaryFn, + ): (...a: Args) => Return, (ab: UnaryFn): UnaryFn, }; @@ -493,7 +486,11 @@ declare module ramda { declare var multiply: CurriedFunction2; declare var negate: UnaryFn; declare var product: UnaryFn, number>; - declare var subtract: CurriedFunction2; + declare var subtract: + & CurriedFunction2 + & CurriedFunction2 + & CurriedFunction2 + & CurriedFunction2; declare var sum: UnaryFn, number>; // Filter @@ -1201,11 +1198,16 @@ declare module ramda { declare function eqBy(fn: (x: T) => T, x: T): (y: T) => boolean; declare function eqBy(fn: (x: T) => T): (x: T) => (y: T) => boolean; - declare function gt(x: T): (y: T) => boolean; - declare function gt(x: T, y: T): boolean; + declare type RelationCompare = + & ((x: number) => (y: number) => bool) + & ((x: number, y: number) => bool) + & ((x: string) => (y: string) => bool) + & ((x: string, y: string) => bool) - declare function gte(x: T): (y: T) => boolean; - declare function gte(x: T, y: T): boolean; + declare var gt: RelationCompare + declare var gte: RelationCompare + declare var lt: RelationCompare + declare var lte: RelationCompare declare function identical(x: T): (y: T) => boolean; declare function identical(x: T, y: T): boolean; @@ -1228,12 +1230,6 @@ declare module ramda { declare function intersection(x: Array, y: Array): Array; declare function intersection(x: Array): (y: Array) => Array; - declare function lt(x: T): (y: T) => boolean; - declare function lt(x: T, y: T): boolean; - - declare function lte(x: T): (y: T) => boolean; - declare function lte(x: T, y: T): boolean; - declare function max(x: T): (y: T) => T; declare function max(x: T, y: T): T; @@ -1716,7 +1712,7 @@ declare module ramda { declare function invoker( arity: number, - name: $Enum + name: $Keys ): CurriedFunction2 & CurriedFunction3 & CurriedFunction4; @@ -1925,20 +1921,20 @@ declare module ramda { y: (...args: Array) => * ): (...args: Array) => *; - declare function ifElse( - cond: (...args: Array) => boolean, + declare function ifElse( + cond: (...args: Args) => boolean ): (( - f1: (...args: Array) => B, - ) => (f2: (...args: Array) => C) => (...args: Array) => B | C) & + f1: (...args: Args) => B + ) => (f2: (...args: Args) => C) => (...args: Args) => B | C) & (( - f1: (...args: Array) => B, - f2: (...args: Array) => C - ) => (...args: Array) => B | C); - declare function ifElse( - cond: (...args: Array) => boolean, - f1: (...args: Array) => B, - f2: (...args: Array) => C - ): (...args: Array) => B | C; + f1: (...args: Args) => B, + f2: (...args: Args) => C + ) => (...args: Args) => B | C); + declare function ifElse( + cond: (...args: Args) => boolean, + f1: (...args: Args) => B, + f2: (...args: Args) => C + ): (...args: Args) => B | C; declare function isEmpty(x: ?Array | Object | string): boolean; 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 d28de8ed..b0f50bba 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: 5469c6c1210095ba45dd98e9dae493a3 -// flow-typed version: <>/rollup-plugin-babel_v^4.3.2/flow_v0.98.0 +// flow-typed signature: 8c942c5a02f19dd12efd8e6c24a0866c +// flow-typed version: <>/rollup-plugin-babel_v^4.3.2/flow_v0.101.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 deleted file mode 100644 index 6a3efc20..00000000 --- a/flow-typed/npm/rollup-plugin-commonjs_vx.x.x.js +++ /dev/null @@ -1,81 +0,0 @@ -// flow-typed signature: f14c762a5955796cd87856989dfc9dcb -// flow-typed version: <>/rollup-plugin-commonjs_v8.2.1/flow_v0.64.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'rollup-plugin-commonjs' - * - * 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 'rollup-plugin-commonjs' { - 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 'rollup-plugin-commonjs/dist/rollup-plugin-commonjs.cjs' { - declare module.exports: any; -} - -declare module 'rollup-plugin-commonjs/dist/rollup-plugin-commonjs.es' { - declare module.exports: any; -} - -declare module 'rollup-plugin-commonjs/src/ast-utils' { - declare module.exports: any; -} - -declare module 'rollup-plugin-commonjs/src/defaultResolver' { - declare module.exports: any; -} - -declare module 'rollup-plugin-commonjs/src/helpers' { - declare module.exports: any; -} - -declare module 'rollup-plugin-commonjs/src/index' { - declare module.exports: any; -} - -declare module 'rollup-plugin-commonjs/src/transform' { - declare module.exports: any; -} - -declare module 'rollup-plugin-commonjs/src/utils' { - declare module.exports: any; -} - -// Filename aliases -declare module 'rollup-plugin-commonjs/dist/rollup-plugin-commonjs.cjs.js' { - declare module.exports: $Exports<'rollup-plugin-commonjs/dist/rollup-plugin-commonjs.cjs'>; -} -declare module 'rollup-plugin-commonjs/dist/rollup-plugin-commonjs.es.js' { - declare module.exports: $Exports<'rollup-plugin-commonjs/dist/rollup-plugin-commonjs.es'>; -} -declare module 'rollup-plugin-commonjs/src/ast-utils.js' { - declare module.exports: $Exports<'rollup-plugin-commonjs/src/ast-utils'>; -} -declare module 'rollup-plugin-commonjs/src/defaultResolver.js' { - declare module.exports: $Exports<'rollup-plugin-commonjs/src/defaultResolver'>; -} -declare module 'rollup-plugin-commonjs/src/helpers.js' { - declare module.exports: $Exports<'rollup-plugin-commonjs/src/helpers'>; -} -declare module 'rollup-plugin-commonjs/src/index.js' { - declare module.exports: $Exports<'rollup-plugin-commonjs/src/index'>; -} -declare module 'rollup-plugin-commonjs/src/transform.js' { - declare module.exports: $Exports<'rollup-plugin-commonjs/src/transform'>; -} -declare module 'rollup-plugin-commonjs/src/utils.js' { - declare module.exports: $Exports<'rollup-plugin-commonjs/src/utils'>; -} diff --git a/flow-typed/npm/rollup-plugin-flow_vx.x.x.js b/flow-typed/npm/rollup-plugin-flow_vx.x.x.js deleted file mode 100644 index 1b8677d2..00000000 --- a/flow-typed/npm/rollup-plugin-flow_vx.x.x.js +++ /dev/null @@ -1,33 +0,0 @@ -// flow-typed signature: 7fae6090cca90a33d1b1533264d73865 -// flow-typed version: <>/rollup-plugin-flow_v^1.1.1/flow_v0.64.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'rollup-plugin-flow' - * - * 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 'rollup-plugin-flow' { - 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 'rollup-plugin-flow/index' { - declare module.exports: $Exports<'rollup-plugin-flow'>; -} -declare module 'rollup-plugin-flow/index.js' { - declare module.exports: $Exports<'rollup-plugin-flow'>; -} diff --git a/flow-typed/npm/rollup-plugin-inject_vx.x.x.js b/flow-typed/npm/rollup-plugin-inject_vx.x.x.js deleted file mode 100644 index 5373cc14..00000000 --- a/flow-typed/npm/rollup-plugin-inject_vx.x.x.js +++ /dev/null @@ -1,53 +0,0 @@ -// flow-typed signature: 8eb920c030bdee0618ca6002dc336ab1 -// flow-typed version: <>/rollup-plugin-inject_v^2.0.0/flow_v0.64.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'rollup-plugin-inject' - * - * 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 'rollup-plugin-inject' { - 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 'rollup-plugin-inject/dist/rollup-plugin-inject.cjs' { - declare module.exports: any; -} - -declare module 'rollup-plugin-inject/dist/rollup-plugin-inject.es6' { - declare module.exports: any; -} - -declare module 'rollup-plugin-inject/src/index' { - declare module.exports: any; -} - -declare module 'rollup-plugin-inject/src/makeLegalIdentifier' { - declare module.exports: any; -} - -// Filename aliases -declare module 'rollup-plugin-inject/dist/rollup-plugin-inject.cjs.js' { - declare module.exports: $Exports<'rollup-plugin-inject/dist/rollup-plugin-inject.cjs'>; -} -declare module 'rollup-plugin-inject/dist/rollup-plugin-inject.es6.js' { - declare module.exports: $Exports<'rollup-plugin-inject/dist/rollup-plugin-inject.es6'>; -} -declare module 'rollup-plugin-inject/src/index.js' { - declare module.exports: $Exports<'rollup-plugin-inject/src/index'>; -} -declare module 'rollup-plugin-inject/src/makeLegalIdentifier.js' { - declare module.exports: $Exports<'rollup-plugin-inject/src/makeLegalIdentifier'>; -} diff --git a/flow-typed/npm/rollup-plugin-json_vx.x.x.js b/flow-typed/npm/rollup-plugin-json_vx.x.x.js deleted file mode 100644 index 55edcf5e..00000000 --- a/flow-typed/npm/rollup-plugin-json_vx.x.x.js +++ /dev/null @@ -1,46 +0,0 @@ -// flow-typed signature: 39582315ebad20651d589764b6666470 -// flow-typed version: <>/rollup-plugin-json_v^2.3.0/flow_v0.64.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'rollup-plugin-json' - * - * 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 'rollup-plugin-json' { - 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 'rollup-plugin-json/dist/rollup-plugin-json.cjs' { - declare module.exports: any; -} - -declare module 'rollup-plugin-json/dist/rollup-plugin-json.es' { - declare module.exports: any; -} - -declare module 'rollup-plugin-json/src/index' { - declare module.exports: any; -} - -// Filename aliases -declare module 'rollup-plugin-json/dist/rollup-plugin-json.cjs.js' { - declare module.exports: $Exports<'rollup-plugin-json/dist/rollup-plugin-json.cjs'>; -} -declare module 'rollup-plugin-json/dist/rollup-plugin-json.es.js' { - declare module.exports: $Exports<'rollup-plugin-json/dist/rollup-plugin-json.es'>; -} -declare module 'rollup-plugin-json/src/index.js' { - declare module.exports: $Exports<'rollup-plugin-json/src/index'>; -} 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 c30b2e40..939525be 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: 38e12fe57d5c7d75cce9f9fa2e20768d -// flow-typed version: <>/rollup-plugin-node-resolve_v^4.2.3/flow_v0.98.0 +// flow-typed signature: ac0c85f69e306141eaf59d3c72cbdb62 +// flow-typed version: <>/rollup-plugin-node-resolve_v^5.0.2/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/rollup-plugin-replace_vx.x.x.js b/flow-typed/npm/rollup-plugin-replace_vx.x.x.js index 370efc7b..58742bee 100644 --- a/flow-typed/npm/rollup-plugin-replace_vx.x.x.js +++ b/flow-typed/npm/rollup-plugin-replace_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: a3d84458ff62254b1f2034fa333c629e -// flow-typed version: <>/rollup-plugin-replace_v^2.2.0/flow_v0.98.0 +// flow-typed signature: 906d0bc57885dd19e3f07b7c71ccade6 +// flow-typed version: <>/rollup-plugin-replace_v^2.2.0/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/rollup-plugin-uglify_vx.x.x.js b/flow-typed/npm/rollup-plugin-uglify_vx.x.x.js index ec1aa667..903d79a0 100644 --- a/flow-typed/npm/rollup-plugin-uglify_vx.x.x.js +++ b/flow-typed/npm/rollup-plugin-uglify_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 45136626afb988e3c89ae9c0f1a91609 -// flow-typed version: <>/rollup-plugin-uglify_v^6.0.2/flow_v0.98.0 +// flow-typed signature: 1ffa1103bea3cb537cbb3bd3826c3107 +// flow-typed version: <>/rollup-plugin-uglify_v^6.0.2/flow_v0.101.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 36ecdb58..843a0fda 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: 48ca048f69717476a858c067e4f6a1bd -// flow-typed version: <>/rollup_v^1.11.2/flow_v0.98.0 +// flow-typed signature: acf41fbc16a69f037ded92e622069f8b +// flow-typed version: <>/rollup_v^1.15.5/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/semantic-release_vx.x.x.js b/flow-typed/npm/semantic-release_vx.x.x.js index 0c55e5e7..c76650d1 100644 --- a/flow-typed/npm/semantic-release_vx.x.x.js +++ b/flow-typed/npm/semantic-release_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: deb0f7a77bfc6f75960dba1d08566f77 -// flow-typed version: <>/semantic-release_v^15.13.3/flow_v0.98.0 +// flow-typed signature: b1a0c4515f99586d90968e6dff37d3ba +// flow-typed version: <>/semantic-release_v^15.13.16/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/shx_vx.x.x.js b/flow-typed/npm/shx_vx.x.x.js index efc1f7ce..ce792750 100644 --- a/flow-typed/npm/shx_vx.x.x.js +++ b/flow-typed/npm/shx_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: ffd715cff4ba87c56636d53e61e86d69 -// flow-typed version: <>/shx_v^0.3.2/flow_v0.98.0 +// flow-typed signature: dcd344b5c4dbbce7262dbd22fc511565 +// flow-typed version: <>/shx_v^0.3.2/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/tsgen_vx.x.x.js b/flow-typed/npm/tsgen_vx.x.x.js index 14eb9f1c..deecb8b9 100644 --- a/flow-typed/npm/tsgen_vx.x.x.js +++ b/flow-typed/npm/tsgen_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 68ee7f74c02055159b6d394d8be5774c -// flow-typed version: <>/tsgen_v1.3.0/flow_v0.98.0 +// flow-typed signature: f07c1744ef4451ec50749b239692d187 +// flow-typed version: <>/tsgen_v1.3.0/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/typescript_v3.3.x.js b/flow-typed/npm/typescript_v3.3.x.js new file mode 100644 index 00000000..3e1ed779 --- /dev/null +++ b/flow-typed/npm/typescript_v3.3.x.js @@ -0,0 +1,8763 @@ +// flow-typed signature: c76c624ba956befc8600f3a037a7c0a9 +// flow-typed version: 257092c42c/typescript_v3.3.x/flow_>=v0.42.x + +declare module "typescript" { + declare var versionMajorMinor: "3.3"; // "3.3"; + declare var version: string; + declare type MapLike = { + [index: string]: T + }; + + declare class SortedReadonlyArray extends $ReadOnlyArray { + __sortedArrayBrand: any + } + + declare class SortedArray extends Array { + __sortedArrayBrand: any + } + + declare class ReadonlyMap { + get(key: string): T | void, + has(key: string): boolean, + forEach(action: (value: T, key: string) => void): void, + +size: number, + keys(): Iterator, + values(): Iterator, + entries(): Iterator<[string, T]> + } + + declare class Map extends ReadonlyMap { + set(key: string, value: T): this, + delete(key: string): boolean, + clear(): void + } + + declare type Iterator = { + next(): + | { + value: T, + done: false + } + | { + value: empty, + done: true + } + }; + + declare type Push = { + push(...values: T[]): void + }; + + declare type Path = string & { + __pathBrand: any + }; + declare type TextRange = { + pos: number, + end: number + }; + + declare type JsDocSyntaxKind = + | typeof SyntaxKind.EndOfFileToken + | typeof SyntaxKind.WhitespaceTrivia + | typeof SyntaxKind.AtToken + | typeof SyntaxKind.NewLineTrivia + | typeof SyntaxKind.AsteriskToken + | typeof SyntaxKind.OpenBraceToken + | typeof SyntaxKind.CloseBraceToken + | typeof SyntaxKind.LessThanToken + | typeof SyntaxKind.OpenBracketToken + | typeof SyntaxKind.CloseBracketToken + | typeof SyntaxKind.EqualsToken + | typeof SyntaxKind.CommaToken + | typeof SyntaxKind.DotToken + | typeof SyntaxKind.Identifier + | typeof SyntaxKind.NoSubstitutionTemplateLiteral + | typeof SyntaxKind.Unknown + | KeywordSyntaxKind; + declare type KeywordSyntaxKind = + | typeof SyntaxKind.AbstractKeyword + | typeof SyntaxKind.AnyKeyword + | typeof SyntaxKind.AsKeyword + | typeof SyntaxKind.BigIntKeyword + | typeof SyntaxKind.BooleanKeyword + | typeof SyntaxKind.BreakKeyword + | typeof SyntaxKind.CaseKeyword + | typeof SyntaxKind.CatchKeyword + | typeof SyntaxKind.ClassKeyword + | typeof SyntaxKind.ContinueKeyword + | typeof SyntaxKind.ConstKeyword + | typeof SyntaxKind.ConstructorKeyword + | typeof SyntaxKind.DebuggerKeyword + | typeof SyntaxKind.DeclareKeyword + | typeof SyntaxKind.DefaultKeyword + | typeof SyntaxKind.DeleteKeyword + | typeof SyntaxKind.DoKeyword + | typeof SyntaxKind.ElseKeyword + | typeof SyntaxKind.EnumKeyword + | typeof SyntaxKind.ExportKeyword + | typeof SyntaxKind.ExtendsKeyword + | typeof SyntaxKind.FalseKeyword + | typeof SyntaxKind.FinallyKeyword + | typeof SyntaxKind.ForKeyword + | typeof SyntaxKind.FromKeyword + | typeof SyntaxKind.FunctionKeyword + | typeof SyntaxKind.GetKeyword + | typeof SyntaxKind.IfKeyword + | typeof SyntaxKind.ImplementsKeyword + | typeof SyntaxKind.ImportKeyword + | typeof SyntaxKind.InKeyword + | typeof SyntaxKind.InferKeyword + | typeof SyntaxKind.InstanceOfKeyword + | typeof SyntaxKind.InterfaceKeyword + | typeof SyntaxKind.IsKeyword + | typeof SyntaxKind.KeyOfKeyword + | typeof SyntaxKind.LetKeyword + | typeof SyntaxKind.ModuleKeyword + | typeof SyntaxKind.NamespaceKeyword + | typeof SyntaxKind.NeverKeyword + | typeof SyntaxKind.NewKeyword + | typeof SyntaxKind.NullKeyword + | typeof SyntaxKind.NumberKeyword + | typeof SyntaxKind.ObjectKeyword + | typeof SyntaxKind.PackageKeyword + | typeof SyntaxKind.PrivateKeyword + | typeof SyntaxKind.ProtectedKeyword + | typeof SyntaxKind.PublicKeyword + | typeof SyntaxKind.ReadonlyKeyword + | typeof SyntaxKind.RequireKeyword + | typeof SyntaxKind.GlobalKeyword + | typeof SyntaxKind.ReturnKeyword + | typeof SyntaxKind.SetKeyword + | typeof SyntaxKind.StaticKeyword + | typeof SyntaxKind.StringKeyword + | typeof SyntaxKind.SuperKeyword + | typeof SyntaxKind.SwitchKeyword + | typeof SyntaxKind.SymbolKeyword + | typeof SyntaxKind.ThisKeyword + | typeof SyntaxKind.ThrowKeyword + | typeof SyntaxKind.TrueKeyword + | typeof SyntaxKind.TryKeyword + | typeof SyntaxKind.TypeKeyword + | typeof SyntaxKind.TypeOfKeyword + | typeof SyntaxKind.UndefinedKeyword + | typeof SyntaxKind.UniqueKeyword + | typeof SyntaxKind.UnknownKeyword + | typeof SyntaxKind.VarKeyword + | typeof SyntaxKind.VoidKeyword + | typeof SyntaxKind.WhileKeyword + | typeof SyntaxKind.WithKeyword + | typeof SyntaxKind.YieldKeyword + | typeof SyntaxKind.AsyncKeyword + | typeof SyntaxKind.AwaitKeyword + | typeof SyntaxKind.OfKeyword; + declare type JsxTokenSyntaxKind = + | typeof SyntaxKind.LessThanSlashToken + | typeof SyntaxKind.EndOfFileToken + | typeof SyntaxKind.ConflictMarkerTrivia + | typeof SyntaxKind.JsxText + | typeof SyntaxKind.JsxTextAllWhiteSpaces + | typeof SyntaxKind.OpenBraceToken + | typeof SyntaxKind.LessThanToken; + + declare var SyntaxKind: { + +Unknown: 0, // 0 + +EndOfFileToken: 1, // 1 + +SingleLineCommentTrivia: 2, // 2 + +MultiLineCommentTrivia: 3, // 3 + +NewLineTrivia: 4, // 4 + +WhitespaceTrivia: 5, // 5 + +ShebangTrivia: 6, // 6 + +ConflictMarkerTrivia: 7, // 7 + +NumericLiteral: 8, // 8 + +BigIntLiteral: 9, // 9 + +StringLiteral: 10, // 10 + +JsxText: 11, // 11 + +JsxTextAllWhiteSpaces: 12, // 12 + +RegularExpressionLiteral: 13, // 13 + +NoSubstitutionTemplateLiteral: 14, // 14 + +TemplateHead: 15, // 15 + +TemplateMiddle: 16, // 16 + +TemplateTail: 17, // 17 + +OpenBraceToken: 18, // 18 + +CloseBraceToken: 19, // 19 + +OpenParenToken: 20, // 20 + +CloseParenToken: 21, // 21 + +OpenBracketToken: 22, // 22 + +CloseBracketToken: 23, // 23 + +DotToken: 24, // 24 + +DotDotDotToken: 25, // 25 + +SemicolonToken: 26, // 26 + +CommaToken: 27, // 27 + +LessThanToken: 28, // 28 + +LessThanSlashToken: 29, // 29 + +GreaterThanToken: 30, // 30 + +LessThanEqualsToken: 31, // 31 + +GreaterThanEqualsToken: 32, // 32 + +EqualsEqualsToken: 33, // 33 + +ExclamationEqualsToken: 34, // 34 + +EqualsEqualsEqualsToken: 35, // 35 + +ExclamationEqualsEqualsToken: 36, // 36 + +EqualsGreaterThanToken: 37, // 37 + +PlusToken: 38, // 38 + +MinusToken: 39, // 39 + +AsteriskToken: 40, // 40 + +AsteriskAsteriskToken: 41, // 41 + +SlashToken: 42, // 42 + +PercentToken: 43, // 43 + +PlusPlusToken: 44, // 44 + +MinusMinusToken: 45, // 45 + +LessThanLessThanToken: 46, // 46 + +GreaterThanGreaterThanToken: 47, // 47 + +GreaterThanGreaterThanGreaterThanToken: 48, // 48 + +AmpersandToken: 49, // 49 + +BarToken: 50, // 50 + +CaretToken: 51, // 51 + +ExclamationToken: 52, // 52 + +TildeToken: 53, // 53 + +AmpersandAmpersandToken: 54, // 54 + +BarBarToken: 55, // 55 + +QuestionToken: 56, // 56 + +ColonToken: 57, // 57 + +AtToken: 58, // 58 + +EqualsToken: 59, // 59 + +PlusEqualsToken: 60, // 60 + +MinusEqualsToken: 61, // 61 + +AsteriskEqualsToken: 62, // 62 + +AsteriskAsteriskEqualsToken: 63, // 63 + +SlashEqualsToken: 64, // 64 + +PercentEqualsToken: 65, // 65 + +LessThanLessThanEqualsToken: 66, // 66 + +GreaterThanGreaterThanEqualsToken: 67, // 67 + +GreaterThanGreaterThanGreaterThanEqualsToken: 68, // 68 + +AmpersandEqualsToken: 69, // 69 + +BarEqualsToken: 70, // 70 + +CaretEqualsToken: 71, // 71 + +Identifier: 72, // 72 + +BreakKeyword: 73, // 73 + +CaseKeyword: 74, // 74 + +CatchKeyword: 75, // 75 + +ClassKeyword: 76, // 76 + +ConstKeyword: 77, // 77 + +ContinueKeyword: 78, // 78 + +DebuggerKeyword: 79, // 79 + +DefaultKeyword: 80, // 80 + +DeleteKeyword: 81, // 81 + +DoKeyword: 82, // 82 + +ElseKeyword: 83, // 83 + +EnumKeyword: 84, // 84 + +ExportKeyword: 85, // 85 + +ExtendsKeyword: 86, // 86 + +FalseKeyword: 87, // 87 + +FinallyKeyword: 88, // 88 + +ForKeyword: 89, // 89 + +FunctionKeyword: 90, // 90 + +IfKeyword: 91, // 91 + +ImportKeyword: 92, // 92 + +InKeyword: 93, // 93 + +InstanceOfKeyword: 94, // 94 + +NewKeyword: 95, // 95 + +NullKeyword: 96, // 96 + +ReturnKeyword: 97, // 97 + +SuperKeyword: 98, // 98 + +SwitchKeyword: 99, // 99 + +ThisKeyword: 100, // 100 + +ThrowKeyword: 101, // 101 + +TrueKeyword: 102, // 102 + +TryKeyword: 103, // 103 + +TypeOfKeyword: 104, // 104 + +VarKeyword: 105, // 105 + +VoidKeyword: 106, // 106 + +WhileKeyword: 107, // 107 + +WithKeyword: 108, // 108 + +ImplementsKeyword: 109, // 109 + +InterfaceKeyword: 110, // 110 + +LetKeyword: 111, // 111 + +PackageKeyword: 112, // 112 + +PrivateKeyword: 113, // 113 + +ProtectedKeyword: 114, // 114 + +PublicKeyword: 115, // 115 + +StaticKeyword: 116, // 116 + +YieldKeyword: 117, // 117 + +AbstractKeyword: 118, // 118 + +AsKeyword: 119, // 119 + +AnyKeyword: 120, // 120 + +AsyncKeyword: 121, // 121 + +AwaitKeyword: 122, // 122 + +BooleanKeyword: 123, // 123 + +ConstructorKeyword: 124, // 124 + +DeclareKeyword: 125, // 125 + +GetKeyword: 126, // 126 + +InferKeyword: 127, // 127 + +IsKeyword: 128, // 128 + +KeyOfKeyword: 129, // 129 + +ModuleKeyword: 130, // 130 + +NamespaceKeyword: 131, // 131 + +NeverKeyword: 132, // 132 + +ReadonlyKeyword: 133, // 133 + +RequireKeyword: 134, // 134 + +NumberKeyword: 135, // 135 + +ObjectKeyword: 136, // 136 + +SetKeyword: 137, // 137 + +StringKeyword: 138, // 138 + +SymbolKeyword: 139, // 139 + +TypeKeyword: 140, // 140 + +UndefinedKeyword: 141, // 141 + +UniqueKeyword: 142, // 142 + +UnknownKeyword: 143, // 143 + +FromKeyword: 144, // 144 + +GlobalKeyword: 145, // 145 + +BigIntKeyword: 146, // 146 + +OfKeyword: 147, // 147 + +QualifiedName: 148, // 148 + +ComputedPropertyName: 149, // 149 + +TypeParameter: 150, // 150 + +Parameter: 151, // 151 + +Decorator: 152, // 152 + +PropertySignature: 153, // 153 + +PropertyDeclaration: 154, // 154 + +MethodSignature: 155, // 155 + +MethodDeclaration: 156, // 156 + +Constructor: 157, // 157 + +GetAccessor: 158, // 158 + +SetAccessor: 159, // 159 + +CallSignature: 160, // 160 + +ConstructSignature: 161, // 161 + +IndexSignature: 162, // 162 + +TypePredicate: 163, // 163 + +TypeReference: 164, // 164 + +FunctionType: 165, // 165 + +ConstructorType: 166, // 166 + +TypeQuery: 167, // 167 + +TypeLiteral: 168, // 168 + +ArrayType: 169, // 169 + +TupleType: 170, // 170 + +OptionalType: 171, // 171 + +RestType: 172, // 172 + +UnionType: 173, // 173 + +IntersectionType: 174, // 174 + +ConditionalType: 175, // 175 + +InferType: 176, // 176 + +ParenthesizedType: 177, // 177 + +ThisType: 178, // 178 + +TypeOperator: 179, // 179 + +IndexedAccessType: 180, // 180 + +MappedType: 181, // 181 + +LiteralType: 182, // 182 + +ImportType: 183, // 183 + +ObjectBindingPattern: 184, // 184 + +ArrayBindingPattern: 185, // 185 + +BindingElement: 186, // 186 + +ArrayLiteralExpression: 187, // 187 + +ObjectLiteralExpression: 188, // 188 + +PropertyAccessExpression: 189, // 189 + +ElementAccessExpression: 190, // 190 + +CallExpression: 191, // 191 + +NewExpression: 192, // 192 + +TaggedTemplateExpression: 193, // 193 + +TypeAssertionExpression: 194, // 194 + +ParenthesizedExpression: 195, // 195 + +FunctionExpression: 196, // 196 + +ArrowFunction: 197, // 197 + +DeleteExpression: 198, // 198 + +TypeOfExpression: 199, // 199 + +VoidExpression: 200, // 200 + +AwaitExpression: 201, // 201 + +PrefixUnaryExpression: 202, // 202 + +PostfixUnaryExpression: 203, // 203 + +BinaryExpression: 204, // 204 + +ConditionalExpression: 205, // 205 + +TemplateExpression: 206, // 206 + +YieldExpression: 207, // 207 + +SpreadElement: 208, // 208 + +ClassExpression: 209, // 209 + +OmittedExpression: 210, // 210 + +ExpressionWithTypeArguments: 211, // 211 + +AsExpression: 212, // 212 + +NonNullExpression: 213, // 213 + +MetaProperty: 214, // 214 + +SyntheticExpression: 215, // 215 + +TemplateSpan: 216, // 216 + +SemicolonClassElement: 217, // 217 + +Block: 218, // 218 + +VariableStatement: 219, // 219 + +EmptyStatement: 220, // 220 + +ExpressionStatement: 221, // 221 + +IfStatement: 222, // 222 + +DoStatement: 223, // 223 + +WhileStatement: 224, // 224 + +ForStatement: 225, // 225 + +ForInStatement: 226, // 226 + +ForOfStatement: 227, // 227 + +ContinueStatement: 228, // 228 + +BreakStatement: 229, // 229 + +ReturnStatement: 230, // 230 + +WithStatement: 231, // 231 + +SwitchStatement: 232, // 232 + +LabeledStatement: 233, // 233 + +ThrowStatement: 234, // 234 + +TryStatement: 235, // 235 + +DebuggerStatement: 236, // 236 + +VariableDeclaration: 237, // 237 + +VariableDeclarationList: 238, // 238 + +FunctionDeclaration: 239, // 239 + +ClassDeclaration: 240, // 240 + +InterfaceDeclaration: 241, // 241 + +TypeAliasDeclaration: 242, // 242 + +EnumDeclaration: 243, // 243 + +ModuleDeclaration: 244, // 244 + +ModuleBlock: 245, // 245 + +CaseBlock: 246, // 246 + +NamespaceExportDeclaration: 247, // 247 + +ImportEqualsDeclaration: 248, // 248 + +ImportDeclaration: 249, // 249 + +ImportClause: 250, // 250 + +NamespaceImport: 251, // 251 + +NamedImports: 252, // 252 + +ImportSpecifier: 253, // 253 + +ExportAssignment: 254, // 254 + +ExportDeclaration: 255, // 255 + +NamedExports: 256, // 256 + +ExportSpecifier: 257, // 257 + +MissingDeclaration: 258, // 258 + +ExternalModuleReference: 259, // 259 + +JsxElement: 260, // 260 + +JsxSelfClosingElement: 261, // 261 + +JsxOpeningElement: 262, // 262 + +JsxClosingElement: 263, // 263 + +JsxFragment: 264, // 264 + +JsxOpeningFragment: 265, // 265 + +JsxClosingFragment: 266, // 266 + +JsxAttribute: 267, // 267 + +JsxAttributes: 268, // 268 + +JsxSpreadAttribute: 269, // 269 + +JsxExpression: 270, // 270 + +CaseClause: 271, // 271 + +DefaultClause: 272, // 272 + +HeritageClause: 273, // 273 + +CatchClause: 274, // 274 + +PropertyAssignment: 275, // 275 + +ShorthandPropertyAssignment: 276, // 276 + +SpreadAssignment: 277, // 277 + +EnumMember: 278, // 278 + +SourceFile: 279, // 279 + +Bundle: 280, // 280 + +UnparsedSource: 281, // 281 + +InputFiles: 282, // 282 + +JSDocTypeExpression: 283, // 283 + +JSDocAllType: 284, // 284 + +JSDocUnknownType: 285, // 285 + +JSDocNullableType: 286, // 286 + +JSDocNonNullableType: 287, // 287 + +JSDocOptionalType: 288, // 288 + +JSDocFunctionType: 289, // 289 + +JSDocVariadicType: 290, // 290 + +JSDocComment: 291, // 291 + +JSDocTypeLiteral: 292, // 292 + +JSDocSignature: 293, // 293 + +JSDocTag: 294, // 294 + +JSDocAugmentsTag: 295, // 295 + +JSDocClassTag: 296, // 296 + +JSDocCallbackTag: 297, // 297 + +JSDocEnumTag: 298, // 298 + +JSDocParameterTag: 299, // 299 + +JSDocReturnTag: 300, // 300 + +JSDocThisTag: 301, // 301 + +JSDocTypeTag: 302, // 302 + +JSDocTemplateTag: 303, // 303 + +JSDocTypedefTag: 304, // 304 + +JSDocPropertyTag: 305, // 305 + +SyntaxList: 306, // 306 + +NotEmittedStatement: 307, // 307 + +PartiallyEmittedExpression: 308, // 308 + +CommaListExpression: 309, // 309 + +MergeDeclarationMarker: 310, // 310 + +EndOfDeclarationMarker: 311, // 311 + +Count: 312, // 312 + +FirstAssignment: 59, // 59 + +LastAssignment: 71, // 71 + +FirstCompoundAssignment: 60, // 60 + +LastCompoundAssignment: 71, // 71 + +FirstReservedWord: 73, // 73 + +LastReservedWord: 108, // 108 + +FirstKeyword: 73, // 73 + +LastKeyword: 147, // 147 + +FirstFutureReservedWord: 109, // 109 + +LastFutureReservedWord: 117, // 117 + +FirstTypeNode: 163, // 163 + +LastTypeNode: 183, // 183 + +FirstPunctuation: 18, // 18 + +LastPunctuation: 71, // 71 + +FirstToken: 0, // 0 + +LastToken: 147, // 147 + +FirstTriviaToken: 2, // 2 + +LastTriviaToken: 7, // 7 + +FirstLiteralToken: 8, // 8 + +LastLiteralToken: 14, // 14 + +FirstTemplateToken: 14, // 14 + +LastTemplateToken: 17, // 17 + +FirstBinaryOperator: 28, // 28 + +LastBinaryOperator: 71, // 71 + +FirstNode: 148, // 148 + +FirstJSDocNode: 283, // 283 + +LastJSDocNode: 305, // 305 + +FirstJSDocTagNode: 294, // 294 + +LastJSDocTagNode: 305 // 305 + }; + + declare var NodeFlags: { + +None: 0, // 0 + +Let: 1, // 1 + +Const: 2, // 2 + +NestedNamespace: 4, // 4 + +Synthesized: 8, // 8 + +Namespace: 16, // 16 + +ExportContext: 32, // 32 + +ContainsThis: 64, // 64 + +HasImplicitReturn: 128, // 128 + +HasExplicitReturn: 256, // 256 + +GlobalAugmentation: 512, // 512 + +HasAsyncFunctions: 1024, // 1024 + +DisallowInContext: 2048, // 2048 + +YieldContext: 4096, // 4096 + +DecoratorContext: 8192, // 8192 + +AwaitContext: 16384, // 16384 + +ThisNodeHasError: 32768, // 32768 + +JavaScriptFile: 65536, // 65536 + +ThisNodeOrAnySubNodesHasError: 131072, // 131072 + +HasAggregatedChildData: 262144, // 262144 + +JSDoc: 2097152, // 2097152 + +JsonFile: 16777216, // 16777216 + +BlockScoped: 3, // 3 + +ReachabilityCheckFlags: 384, // 384 + +ReachabilityAndEmitFlags: 1408, // 1408 + +ContextFlags: 12679168, // 12679168 + +TypeExcludesFlags: 20480 // 20480 + }; + + declare var ModifierFlags: { + +None: 0, // 0 + +Export: 1, // 1 + +Ambient: 2, // 2 + +Public: 4, // 4 + +Private: 8, // 8 + +Protected: 16, // 16 + +Static: 32, // 32 + +Readonly: 64, // 64 + +Abstract: 128, // 128 + +Async: 256, // 256 + +Default: 512, // 512 + +Const: 2048, // 2048 + +HasComputedFlags: 536870912, // 536870912 + +AccessibilityModifier: 28, // 28 + +ParameterPropertyModifier: 92, // 92 + +NonPublicAccessibilityModifier: 24, // 24 + +TypeScriptModifier: 2270, // 2270 + +ExportDefault: 513, // 513 + +All: 3071 // 3071 + }; + + declare var JsxFlags: { + +None: 0, // 0 + +IntrinsicNamedElement: 1, // 1 + +IntrinsicIndexedElement: 2, // 2 + +IntrinsicElement: 3 // 3 + }; + + declare type Node = { + ...$Exact, + + kind: $Values, + flags: $Values, + decorators?: NodeArray, + modifiers?: ModifiersArray, + parent: any, + getSourceFile(): SourceFile, + getChildCount(sourceFile?: SourceFile): number, + getChildAt(index: number, sourceFile?: SourceFile): Node, + getChildren(sourceFile?: SourceFile): Node[], + getStart(sourceFile?: SourceFile, includeJsDocComment?: boolean): number, + getFullStart(): number, + getEnd(): number, + getWidth(sourceFile?: SourceFileLike): number, + getFullWidth(): number, + getLeadingTriviaWidth(sourceFile?: SourceFile): number, + getFullText(sourceFile?: SourceFile): string, + getText(sourceFile?: SourceFile): string, + getFirstToken(sourceFile?: SourceFile): Node | void, + getLastToken(sourceFile?: SourceFile): Node | void, + forEachChild( + cbNode: (node: Node) => T | void, + cbNodeArray?: (nodes: NodeArray) => T | void + ): T | void + }; + + declare type JSDocContainer = {}; + + declare type HasJSDoc = + | ParameterDeclaration + | CallSignatureDeclaration + | ConstructSignatureDeclaration + | MethodSignature + | PropertySignature + | ArrowFunction + | ParenthesizedExpression + | SpreadAssignment + | ShorthandPropertyAssignment + | PropertyAssignment + | FunctionExpression + | LabeledStatement + | ExpressionStatement + | VariableStatement + | FunctionDeclaration + | ConstructorDeclaration + | MethodDeclaration + | PropertyDeclaration + | AccessorDeclaration + | ClassLikeDeclaration + | InterfaceDeclaration + | TypeAliasDeclaration + | EnumMember + | EnumDeclaration + | ModuleDeclaration + | ImportEqualsDeclaration + | IndexSignatureDeclaration + | FunctionTypeNode + | ConstructorTypeNode + | JSDocFunctionType + | ExportDeclaration + | EndOfFileToken; + declare type HasType = + | SignatureDeclaration + | VariableDeclaration + | ParameterDeclaration + | PropertySignature + | PropertyDeclaration + | TypePredicateNode + | ParenthesizedTypeNode + | TypeOperatorNode + | MappedTypeNode + | AssertionExpression + | TypeAliasDeclaration + | JSDocTypeExpression + | JSDocNonNullableType + | JSDocNullableType + | JSDocOptionalType + | JSDocVariadicType; + declare type HasInitializer = + | HasExpressionInitializer + | ForStatement + | ForInStatement + | ForOfStatement + | JsxAttribute; + declare type HasExpressionInitializer = + | VariableDeclaration + | ParameterDeclaration + | BindingElement + | PropertySignature + | PropertyDeclaration + | PropertyAssignment + | EnumMember; + declare type NodeArray> = { + ...$Exact, + hasTrailingComma?: boolean + } & $ReadOnlyArray; + + declare type Token> = { + ...$Exact, + + kind: TKind + }; + + declare type DotDotDotToken = Token; + declare type QuestionToken = Token; + declare type ExclamationToken = Token; + declare type ColonToken = Token; + declare type EqualsToken = Token; + declare type AsteriskToken = Token; + declare type EqualsGreaterThanToken = Token< + typeof SyntaxKind.EqualsGreaterThanToken + >; + declare type EndOfFileToken = Token & + JSDocContainer; + declare type ReadonlyToken = Token; + declare type AwaitKeywordToken = Token; + declare type PlusToken = Token; + declare type MinusToken = Token; + declare type Modifier = + | Token + | Token + | Token + | Token + | Token + | Token + | Token + | Token + | Token + | Token + | Token; + declare type ModifiersArray = NodeArray; + declare type Identifier = { + ...$Exact, + ...$Exact, + kind: typeof SyntaxKind.Identifier, + escapedText: __String, + originalKeywordKind?: $Values, + isInJSDocNamespace?: boolean, + +text: string + }; + + declare type TransientIdentifier = { + ...$Exact, + + resolvedSymbol: Symbol + }; + + declare type QualifiedName = { + ...$Exact, + + kind: typeof SyntaxKind.QualifiedName, + left: EntityName, + right: Identifier + }; + + declare type EntityName = Identifier | QualifiedName; + declare type PropertyName = + | Identifier + | StringLiteral + | NumericLiteral + | ComputedPropertyName; + declare type DeclarationName = + | Identifier + | StringLiteralLike + | NumericLiteral + | ComputedPropertyName + | BindingPattern; + declare type Declaration = { + ...$Exact, + + _declarationBrand: any + }; + + declare type NamedDeclaration = { + ...$Exact, + + name?: DeclarationName + }; + + declare type DeclarationStatement = { + ...$Exact, + ...$Exact, + + name?: Identifier | StringLiteral | NumericLiteral + }; + + declare type ComputedPropertyName = { + ...$Exact, + + parent: Declaration, + kind: typeof SyntaxKind.ComputedPropertyName, + expression: Expression + }; + + declare type Decorator = { + ...$Exact, + + kind: typeof SyntaxKind.Decorator, + parent: NamedDeclaration, + expression: LeftHandSideExpression + }; + + declare type TypeParameterDeclaration = { + ...$Exact, + + kind: typeof SyntaxKind.TypeParameter, + parent: DeclarationWithTypeParameterChildren | InferTypeNode, + name: Identifier, + constraint?: TypeNode, + default?: TypeNode, + expression?: Expression + }; + + declare type SignatureDeclarationBase = { + ...$Exact, + ...$Exact, + + kind: $ElementType, + name?: PropertyName, + typeParameters?: NodeArray, + parameters: NodeArray, + type?: TypeNode + }; + + declare type SignatureDeclaration = + | CallSignatureDeclaration + | ConstructSignatureDeclaration + | MethodSignature + | IndexSignatureDeclaration + | FunctionTypeNode + | ConstructorTypeNode + | JSDocFunctionType + | FunctionDeclaration + | MethodDeclaration + | ConstructorDeclaration + | AccessorDeclaration + | FunctionExpression + | ArrowFunction; + declare type CallSignatureDeclaration = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.CallSignature + }; + + declare type ConstructSignatureDeclaration = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.ConstructSignature + }; + + declare type BindingName = Identifier | BindingPattern; + declare type VariableDeclaration = { + ...$Exact, + + kind: typeof SyntaxKind.VariableDeclaration, + parent: VariableDeclarationList | CatchClause, + name: BindingName, + exclamationToken?: ExclamationToken, + type?: TypeNode, + initializer?: Expression + }; + + declare type VariableDeclarationList = { + ...$Exact, + + kind: typeof SyntaxKind.VariableDeclarationList, + parent: VariableStatement | ForStatement | ForOfStatement | ForInStatement, + declarations: NodeArray + }; + + declare type ParameterDeclaration = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.Parameter, + parent: SignatureDeclaration, + dotDotDotToken?: DotDotDotToken, + name: BindingName, + questionToken?: QuestionToken, + type?: TypeNode, + initializer?: Expression + }; + + declare type BindingElement = { + ...$Exact, + + kind: typeof SyntaxKind.BindingElement, + parent: BindingPattern, + propertyName?: PropertyName, + dotDotDotToken?: DotDotDotToken, + name: BindingName, + initializer?: Expression + }; + + declare type PropertySignature = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.PropertySignature, + name: PropertyName, + questionToken?: QuestionToken, + type?: TypeNode, + initializer?: Expression + }; + + declare type PropertyDeclaration = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.PropertyDeclaration, + parent: ClassLikeDeclaration, + name: PropertyName, + questionToken?: QuestionToken, + exclamationToken?: ExclamationToken, + type?: TypeNode, + initializer?: Expression + }; + + declare type ObjectLiteralElement = { + ...$Exact, + + _objectLiteralBrandBrand: any, + name?: PropertyName + }; + + declare type ObjectLiteralElementLike = + | PropertyAssignment + | ShorthandPropertyAssignment + | SpreadAssignment + | MethodDeclaration + | AccessorDeclaration; + declare type PropertyAssignment = { + ...$Exact, + ...$Exact, + + parent: ObjectLiteralExpression, + kind: typeof SyntaxKind.PropertyAssignment, + name: PropertyName, + questionToken?: QuestionToken, + initializer: Expression + }; + + declare type ShorthandPropertyAssignment = { + ...$Exact, + ...$Exact, + + parent: ObjectLiteralExpression, + kind: typeof SyntaxKind.ShorthandPropertyAssignment, + name: Identifier, + questionToken?: QuestionToken, + exclamationToken?: ExclamationToken, + equalsToken?: Token, + objectAssignmentInitializer?: Expression + }; + + declare type SpreadAssignment = { + ...$Exact, + ...$Exact, + + parent: ObjectLiteralExpression, + kind: typeof SyntaxKind.SpreadAssignment, + expression: Expression + }; + + declare type VariableLikeDeclaration = + | VariableDeclaration + | ParameterDeclaration + | BindingElement + | PropertyDeclaration + | PropertyAssignment + | PropertySignature + | JsxAttribute + | ShorthandPropertyAssignment + | EnumMember + | JSDocPropertyTag + | JSDocParameterTag; + declare type PropertyLikeDeclaration = { + ...$Exact, + + name: PropertyName + }; + + declare type ObjectBindingPattern = { + ...$Exact, + + kind: typeof SyntaxKind.ObjectBindingPattern, + parent: VariableDeclaration | ParameterDeclaration | BindingElement, + elements: NodeArray + }; + + declare type ArrayBindingPattern = { + ...$Exact, + + kind: typeof SyntaxKind.ArrayBindingPattern, + parent: VariableDeclaration | ParameterDeclaration | BindingElement, + elements: NodeArray + }; + + declare type BindingPattern = ObjectBindingPattern | ArrayBindingPattern; + declare type ArrayBindingElement = BindingElement | OmittedExpression; + declare type FunctionLikeDeclarationBase = { + ...$Exact, + + _functionLikeDeclarationBrand: any, + asteriskToken?: AsteriskToken, + questionToken?: QuestionToken, + exclamationToken?: ExclamationToken, + body?: Block | Expression + }; + + declare type FunctionLikeDeclaration = + | FunctionDeclaration + | MethodDeclaration + | GetAccessorDeclaration + | SetAccessorDeclaration + | ConstructorDeclaration + | FunctionExpression + | ArrowFunction; + declare type FunctionLike = SignatureDeclaration; + declare type FunctionDeclaration = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.FunctionDeclaration, + name?: Identifier, + body?: FunctionBody + }; + + declare type MethodSignature = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.MethodSignature, + parent: ObjectTypeDeclaration, + name: PropertyName + }; + + declare type MethodDeclaration = { + ...$Exact, + ...$Exact, + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.MethodDeclaration, + parent: ClassLikeDeclaration | ObjectLiteralExpression, + name: PropertyName, + body?: FunctionBody + }; + + declare type ConstructorDeclaration = { + ...$Exact, + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.Constructor, + parent: ClassLikeDeclaration, + body?: FunctionBody + }; + + declare type SemicolonClassElement = { + ...$Exact, + + kind: typeof SyntaxKind.SemicolonClassElement, + parent: ClassLikeDeclaration + }; + + declare type GetAccessorDeclaration = { + ...$Exact, + ...$Exact, + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.GetAccessor, + parent: ClassLikeDeclaration | ObjectLiteralExpression, + name: PropertyName, + body?: FunctionBody + }; + + declare type SetAccessorDeclaration = { + ...$Exact, + ...$Exact, + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.SetAccessor, + parent: ClassLikeDeclaration | ObjectLiteralExpression, + name: PropertyName, + body?: FunctionBody + }; + + declare type AccessorDeclaration = + | GetAccessorDeclaration + | SetAccessorDeclaration; + declare type IndexSignatureDeclaration = { + ...$Exact, + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.IndexSignature, + parent: ObjectTypeDeclaration + }; + + declare type TypeNode = { + ...$Exact, + + _typeNodeBrand: any + }; + + declare type KeywordTypeNode = { + ...$Exact, + + kind: + | typeof SyntaxKind.AnyKeyword + | typeof SyntaxKind.UnknownKeyword + | typeof SyntaxKind.NumberKeyword + | typeof SyntaxKind.BigIntKeyword + | typeof SyntaxKind.ObjectKeyword + | typeof SyntaxKind.BooleanKeyword + | typeof SyntaxKind.StringKeyword + | typeof SyntaxKind.SymbolKeyword + | typeof SyntaxKind.ThisKeyword + | typeof SyntaxKind.VoidKeyword + | typeof SyntaxKind.UndefinedKeyword + | typeof SyntaxKind.NullKeyword + | typeof SyntaxKind.NeverKeyword + }; + + declare type ImportTypeNode = { + ...$Exact, + + kind: typeof SyntaxKind.ImportType, + isTypeOf?: boolean, + argument: TypeNode, + qualifier?: EntityName + }; + + declare type ThisTypeNode = { + ...$Exact, + + kind: typeof SyntaxKind.ThisType + }; + + declare type FunctionOrConstructorTypeNode = + | FunctionTypeNode + | ConstructorTypeNode; + declare type FunctionOrConstructorTypeNodeBase = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.FunctionType | typeof SyntaxKind.ConstructorType, + type: TypeNode + }; + + declare type FunctionTypeNode = { + ...$Exact, + + kind: typeof SyntaxKind.FunctionType + }; + + declare type ConstructorTypeNode = { + ...$Exact, + + kind: typeof SyntaxKind.ConstructorType + }; + + declare type NodeWithTypeArguments = { + ...$Exact, + + typeArguments?: NodeArray + }; + + declare type TypeReferenceType = + | TypeReferenceNode + | ExpressionWithTypeArguments; + declare type TypeReferenceNode = { + ...$Exact, + + kind: typeof SyntaxKind.TypeReference, + typeName: EntityName + }; + + declare type TypePredicateNode = { + ...$Exact, + + kind: typeof SyntaxKind.TypePredicate, + parent: SignatureDeclaration | JSDocTypeExpression, + parameterName: Identifier | ThisTypeNode, + type: TypeNode + }; + + declare type TypeQueryNode = { + ...$Exact, + + kind: typeof SyntaxKind.TypeQuery, + exprName: EntityName + }; + + declare type TypeLiteralNode = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.TypeLiteral, + members: NodeArray + }; + + declare type ArrayTypeNode = { + ...$Exact, + + kind: typeof SyntaxKind.ArrayType, + elementType: TypeNode + }; + + declare type TupleTypeNode = { + ...$Exact, + + kind: typeof SyntaxKind.TupleType, + elementTypes: NodeArray + }; + + declare type OptionalTypeNode = { + ...$Exact, + + kind: typeof SyntaxKind.OptionalType, + type: TypeNode + }; + + declare type RestTypeNode = { + ...$Exact, + + kind: typeof SyntaxKind.RestType, + type: TypeNode + }; + + declare type UnionOrIntersectionTypeNode = + | UnionTypeNode + | IntersectionTypeNode; + declare type UnionTypeNode = { + ...$Exact, + + kind: typeof SyntaxKind.UnionType, + types: NodeArray + }; + + declare type IntersectionTypeNode = { + ...$Exact, + + kind: typeof SyntaxKind.IntersectionType, + types: NodeArray + }; + + declare type ConditionalTypeNode = { + ...$Exact, + + kind: typeof SyntaxKind.ConditionalType, + checkType: TypeNode, + extendsType: TypeNode, + trueType: TypeNode, + falseType: TypeNode + }; + + declare type InferTypeNode = { + ...$Exact, + + kind: typeof SyntaxKind.InferType, + typeParameter: TypeParameterDeclaration + }; + + declare type ParenthesizedTypeNode = { + ...$Exact, + + kind: typeof SyntaxKind.ParenthesizedType, + type: TypeNode + }; + + declare type TypeOperatorNode = { + ...$Exact, + + kind: typeof SyntaxKind.TypeOperator, + operator: typeof SyntaxKind.KeyOfKeyword | typeof SyntaxKind.UniqueKeyword, + type: TypeNode + }; + + declare type IndexedAccessTypeNode = { + ...$Exact, + + kind: typeof SyntaxKind.IndexedAccessType, + objectType: TypeNode, + indexType: TypeNode + }; + + declare type MappedTypeNode = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.MappedType, + readonlyToken?: ReadonlyToken | PlusToken | MinusToken, + typeParameter: TypeParameterDeclaration, + questionToken?: QuestionToken | PlusToken | MinusToken, + type?: TypeNode + }; + + declare type LiteralTypeNode = { + ...$Exact, + + kind: typeof SyntaxKind.LiteralType, + literal: BooleanLiteral | LiteralExpression | PrefixUnaryExpression + }; + + declare type StringLiteral = { + ...$Exact, + + kind: typeof SyntaxKind.StringLiteral + }; + + declare type StringLiteralLike = + | StringLiteral + | NoSubstitutionTemplateLiteral; + declare type Expression = { + ...$Exact, + + _expressionBrand: any + }; + + declare type OmittedExpression = { + ...$Exact, + + kind: typeof SyntaxKind.OmittedExpression + }; + + declare type PartiallyEmittedExpression = { + ...$Exact, + + kind: typeof SyntaxKind.PartiallyEmittedExpression, + expression: Expression + }; + + declare type UnaryExpression = { + ...$Exact, + + _unaryExpressionBrand: any + }; + + declare type IncrementExpression = UpdateExpression; + declare type UpdateExpression = { + ...$Exact, + + _updateExpressionBrand: any + }; + + declare type PrefixUnaryOperator = + | typeof SyntaxKind.PlusPlusToken + | typeof SyntaxKind.MinusMinusToken + | typeof SyntaxKind.PlusToken + | typeof SyntaxKind.MinusToken + | typeof SyntaxKind.TildeToken + | typeof SyntaxKind.ExclamationToken; + declare type PrefixUnaryExpression = { + ...$Exact, + + kind: typeof SyntaxKind.PrefixUnaryExpression, + operator: PrefixUnaryOperator, + operand: UnaryExpression + }; + + declare type PostfixUnaryOperator = + | typeof SyntaxKind.PlusPlusToken + | typeof SyntaxKind.MinusMinusToken; + declare type PostfixUnaryExpression = { + ...$Exact, + + kind: typeof SyntaxKind.PostfixUnaryExpression, + operand: LeftHandSideExpression, + operator: PostfixUnaryOperator + }; + + declare type LeftHandSideExpression = { + ...$Exact, + + _leftHandSideExpressionBrand: any + }; + + declare type MemberExpression = { + ...$Exact, + + _memberExpressionBrand: any + }; + + declare type PrimaryExpression = { + ...$Exact, + + _primaryExpressionBrand: any + }; + + declare type NullLiteral = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.NullKeyword + }; + + declare type BooleanLiteral = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.TrueKeyword | typeof SyntaxKind.FalseKeyword + }; + + declare type ThisExpression = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.ThisKeyword + }; + + declare type SuperExpression = { + ...$Exact, + + kind: typeof SyntaxKind.SuperKeyword + }; + + declare type ImportExpression = { + ...$Exact, + + kind: typeof SyntaxKind.ImportKeyword + }; + + declare type DeleteExpression = { + ...$Exact, + + kind: typeof SyntaxKind.DeleteExpression, + expression: UnaryExpression + }; + + declare type TypeOfExpression = { + ...$Exact, + + kind: typeof SyntaxKind.TypeOfExpression, + expression: UnaryExpression + }; + + declare type VoidExpression = { + ...$Exact, + + kind: typeof SyntaxKind.VoidExpression, + expression: UnaryExpression + }; + + declare type AwaitExpression = { + ...$Exact, + + kind: typeof SyntaxKind.AwaitExpression, + expression: UnaryExpression + }; + + declare type YieldExpression = { + ...$Exact, + + kind: typeof SyntaxKind.YieldExpression, + asteriskToken?: AsteriskToken, + expression?: Expression + }; + + declare type SyntheticExpression = { + ...$Exact, + + kind: typeof SyntaxKind.SyntheticExpression, + isSpread: boolean, + type: Type + }; + + declare type ExponentiationOperator = typeof SyntaxKind.AsteriskAsteriskToken; + declare type MultiplicativeOperator = + | typeof SyntaxKind.AsteriskToken + | typeof SyntaxKind.SlashToken + | typeof SyntaxKind.PercentToken; + declare type MultiplicativeOperatorOrHigher = + | ExponentiationOperator + | MultiplicativeOperator; + declare type AdditiveOperator = + | typeof SyntaxKind.PlusToken + | typeof SyntaxKind.MinusToken; + declare type AdditiveOperatorOrHigher = + | MultiplicativeOperatorOrHigher + | AdditiveOperator; + declare type ShiftOperator = + | typeof SyntaxKind.LessThanLessThanToken + | typeof SyntaxKind.GreaterThanGreaterThanToken + | typeof SyntaxKind.GreaterThanGreaterThanGreaterThanToken; + declare type ShiftOperatorOrHigher = AdditiveOperatorOrHigher | ShiftOperator; + declare type RelationalOperator = + | typeof SyntaxKind.LessThanToken + | typeof SyntaxKind.LessThanEqualsToken + | typeof SyntaxKind.GreaterThanToken + | typeof SyntaxKind.GreaterThanEqualsToken + | typeof SyntaxKind.InstanceOfKeyword + | typeof SyntaxKind.InKeyword; + declare type RelationalOperatorOrHigher = + | ShiftOperatorOrHigher + | RelationalOperator; + declare type EqualityOperator = + | typeof SyntaxKind.EqualsEqualsToken + | typeof SyntaxKind.EqualsEqualsEqualsToken + | typeof SyntaxKind.ExclamationEqualsEqualsToken + | typeof SyntaxKind.ExclamationEqualsToken; + declare type EqualityOperatorOrHigher = + | RelationalOperatorOrHigher + | EqualityOperator; + declare type BitwiseOperator = + | typeof SyntaxKind.AmpersandToken + | typeof SyntaxKind.BarToken + | typeof SyntaxKind.CaretToken; + declare type BitwiseOperatorOrHigher = + | EqualityOperatorOrHigher + | BitwiseOperator; + declare type LogicalOperator = + | typeof SyntaxKind.AmpersandAmpersandToken + | typeof SyntaxKind.BarBarToken; + declare type LogicalOperatorOrHigher = + | BitwiseOperatorOrHigher + | LogicalOperator; + declare type CompoundAssignmentOperator = + | typeof SyntaxKind.PlusEqualsToken + | typeof SyntaxKind.MinusEqualsToken + | typeof SyntaxKind.AsteriskAsteriskEqualsToken + | typeof SyntaxKind.AsteriskEqualsToken + | typeof SyntaxKind.SlashEqualsToken + | typeof SyntaxKind.PercentEqualsToken + | typeof SyntaxKind.AmpersandEqualsToken + | typeof SyntaxKind.BarEqualsToken + | typeof SyntaxKind.CaretEqualsToken + | typeof SyntaxKind.LessThanLessThanEqualsToken + | typeof SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken + | typeof SyntaxKind.GreaterThanGreaterThanEqualsToken; + declare type AssignmentOperator = + | typeof SyntaxKind.EqualsToken + | CompoundAssignmentOperator; + declare type AssignmentOperatorOrHigher = + | LogicalOperatorOrHigher + | AssignmentOperator; + declare type BinaryOperator = + | AssignmentOperatorOrHigher + | typeof SyntaxKind.CommaToken; + declare type BinaryOperatorToken = Token; + declare type BinaryExpression = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.BinaryExpression, + left: Expression, + operatorToken: BinaryOperatorToken, + right: Expression + }; + + declare type AssignmentOperatorToken = Token; + declare type AssignmentExpression = { + ...$Exact, + + left: LeftHandSideExpression, + operatorToken: TOperator + }; + + declare type ObjectDestructuringAssignment = { + ...$Exact>, + + left: ObjectLiteralExpression + }; + + declare type ArrayDestructuringAssignment = { + ...$Exact>, + + left: ArrayLiteralExpression + }; + + declare type DestructuringAssignment = + | ObjectDestructuringAssignment + | ArrayDestructuringAssignment; + declare type BindingOrAssignmentElement = + | VariableDeclaration + | ParameterDeclaration + | BindingElement + | PropertyAssignment + | ShorthandPropertyAssignment + | SpreadAssignment + | OmittedExpression + | SpreadElement + | ArrayLiteralExpression + | ObjectLiteralExpression + | AssignmentExpression + | Identifier + | PropertyAccessExpression + | ElementAccessExpression; + declare type BindingOrAssignmentElementRestIndicator = + | DotDotDotToken + | SpreadElement + | SpreadAssignment; + declare type BindingOrAssignmentElementTarget = + | BindingOrAssignmentPattern + | Identifier + | PropertyAccessExpression + | ElementAccessExpression + | OmittedExpression; + declare type ObjectBindingOrAssignmentPattern = + | ObjectBindingPattern + | ObjectLiteralExpression; + declare type ArrayBindingOrAssignmentPattern = + | ArrayBindingPattern + | ArrayLiteralExpression; + declare type AssignmentPattern = + | ObjectLiteralExpression + | ArrayLiteralExpression; + declare type BindingOrAssignmentPattern = + | ObjectBindingOrAssignmentPattern + | ArrayBindingOrAssignmentPattern; + declare type ConditionalExpression = { + ...$Exact, + + kind: typeof SyntaxKind.ConditionalExpression, + condition: Expression, + questionToken: QuestionToken, + whenTrue: Expression, + colonToken: ColonToken, + whenFalse: Expression + }; + + declare type FunctionBody = Block; + declare type ConciseBody = FunctionBody | Expression; + declare type FunctionExpression = { + ...$Exact, + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.FunctionExpression, + name?: Identifier, + body: FunctionBody + }; + + declare type ArrowFunction = { + ...$Exact, + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.ArrowFunction, + equalsGreaterThanToken: EqualsGreaterThanToken, + body: ConciseBody, + name: empty + }; + + declare type LiteralLikeNode = { + ...$Exact, + + text: string, + isUnterminated?: boolean, + hasExtendedUnicodeEscape?: boolean + }; + + declare type LiteralExpression = { + ...$Exact, + ...$Exact, + + _literalExpressionBrand: any + }; + + declare type RegularExpressionLiteral = { + ...$Exact, + + kind: typeof SyntaxKind.RegularExpressionLiteral + }; + + declare type NoSubstitutionTemplateLiteral = { + ...$Exact, + + kind: typeof SyntaxKind.NoSubstitutionTemplateLiteral + }; + + declare type NumericLiteral = { + ...$Exact, + + kind: typeof SyntaxKind.NumericLiteral + }; + + declare type BigIntLiteral = { + ...$Exact, + + kind: typeof SyntaxKind.BigIntLiteral + }; + + declare type TemplateHead = { + ...$Exact, + + kind: typeof SyntaxKind.TemplateHead, + parent: TemplateExpression + }; + + declare type TemplateMiddle = { + ...$Exact, + + kind: typeof SyntaxKind.TemplateMiddle, + parent: TemplateSpan + }; + + declare type TemplateTail = { + ...$Exact, + + kind: typeof SyntaxKind.TemplateTail, + parent: TemplateSpan + }; + + declare type TemplateLiteral = + | TemplateExpression + | NoSubstitutionTemplateLiteral; + declare type TemplateExpression = { + ...$Exact, + + kind: typeof SyntaxKind.TemplateExpression, + head: TemplateHead, + templateSpans: NodeArray + }; + + declare type TemplateSpan = { + ...$Exact, + + kind: typeof SyntaxKind.TemplateSpan, + parent: TemplateExpression, + expression: Expression, + literal: TemplateMiddle | TemplateTail + }; + + declare type ParenthesizedExpression = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.ParenthesizedExpression, + expression: Expression + }; + + declare type ArrayLiteralExpression = { + ...$Exact, + + kind: typeof SyntaxKind.ArrayLiteralExpression, + elements: NodeArray + }; + + declare type SpreadElement = { + ...$Exact, + + kind: typeof SyntaxKind.SpreadElement, + parent: ArrayLiteralExpression | CallExpression | NewExpression, + expression: Expression + }; + + declare type ObjectLiteralExpressionBase = { + ...$Exact, + ...$Exact, + + properties: NodeArray + }; + + declare type ObjectLiteralExpression = { + ...$Exact>, + + kind: typeof SyntaxKind.ObjectLiteralExpression + }; + + declare type EntityNameExpression = + | Identifier + | PropertyAccessEntityNameExpression; + declare type EntityNameOrEntityNameExpression = + | EntityName + | EntityNameExpression; + declare type PropertyAccessExpression = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.PropertyAccessExpression, + expression: LeftHandSideExpression, + name: Identifier + }; + + declare type SuperPropertyAccessExpression = { + ...$Exact, + + expression: SuperExpression + }; + + declare type PropertyAccessEntityNameExpression = { + ...$Exact, + + _propertyAccessExpressionLikeQualifiedNameBrand?: any, + expression: EntityNameExpression + }; + + declare type ElementAccessExpression = { + ...$Exact, + + kind: typeof SyntaxKind.ElementAccessExpression, + expression: LeftHandSideExpression, + argumentExpression: Expression + }; + + declare type SuperElementAccessExpression = { + ...$Exact, + + expression: SuperExpression + }; + + declare type SuperProperty = + | SuperPropertyAccessExpression + | SuperElementAccessExpression; + declare type CallExpression = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.CallExpression, + expression: LeftHandSideExpression, + typeArguments?: NodeArray, + arguments: NodeArray + }; + + declare type SuperCall = { + ...$Exact, + + expression: SuperExpression + }; + + declare type ImportCall = { + ...$Exact, + + expression: ImportExpression + }; + + declare type ExpressionWithTypeArguments = { + ...$Exact, + + kind: typeof SyntaxKind.ExpressionWithTypeArguments, + parent: HeritageClause | JSDocAugmentsTag, + expression: LeftHandSideExpression + }; + + declare type NewExpression = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.NewExpression, + expression: LeftHandSideExpression, + typeArguments?: NodeArray, + arguments?: NodeArray + }; + + declare type TaggedTemplateExpression = { + ...$Exact, + + kind: typeof SyntaxKind.TaggedTemplateExpression, + tag: LeftHandSideExpression, + typeArguments?: NodeArray, + template: TemplateLiteral + }; + + declare type CallLikeExpression = + | CallExpression + | NewExpression + | TaggedTemplateExpression + | Decorator + | JsxOpeningLikeElement; + declare type AsExpression = { + ...$Exact, + + kind: typeof SyntaxKind.AsExpression, + expression: Expression, + type: TypeNode + }; + + declare type TypeAssertion = { + ...$Exact, + + kind: typeof SyntaxKind.TypeAssertionExpression, + type: TypeNode, + expression: UnaryExpression + }; + + declare type AssertionExpression = TypeAssertion | AsExpression; + declare type NonNullExpression = { + ...$Exact, + + kind: typeof SyntaxKind.NonNullExpression, + expression: Expression + }; + + declare type MetaProperty = { + ...$Exact, + + kind: typeof SyntaxKind.MetaProperty, + keywordToken: + | typeof SyntaxKind.NewKeyword + | typeof SyntaxKind.ImportKeyword, + name: Identifier + }; + + declare type JsxElement = { + ...$Exact, + + kind: typeof SyntaxKind.JsxElement, + openingElement: JsxOpeningElement, + children: NodeArray, + closingElement: JsxClosingElement + }; + + declare type JsxOpeningLikeElement = + | JsxSelfClosingElement + | JsxOpeningElement; + declare type JsxAttributeLike = JsxAttribute | JsxSpreadAttribute; + declare type JsxTagNameExpression = + | Identifier + | ThisExpression + | JsxTagNamePropertyAccess; + declare type JsxTagNamePropertyAccess = { + ...$Exact, + + expression: JsxTagNameExpression + }; + + declare type JsxAttributes = { + ...$Exact>, + + parent: JsxOpeningLikeElement + }; + + declare type JsxOpeningElement = { + ...$Exact, + + kind: typeof SyntaxKind.JsxOpeningElement, + parent: JsxElement, + tagName: JsxTagNameExpression, + typeArguments?: NodeArray, + attributes: JsxAttributes + }; + + declare type JsxSelfClosingElement = { + ...$Exact, + + kind: typeof SyntaxKind.JsxSelfClosingElement, + tagName: JsxTagNameExpression, + typeArguments?: NodeArray, + attributes: JsxAttributes + }; + + declare type JsxFragment = { + ...$Exact, + + kind: typeof SyntaxKind.JsxFragment, + openingFragment: JsxOpeningFragment, + children: NodeArray, + closingFragment: JsxClosingFragment + }; + + declare type JsxOpeningFragment = { + ...$Exact, + + kind: typeof SyntaxKind.JsxOpeningFragment, + parent: JsxFragment + }; + + declare type JsxClosingFragment = { + ...$Exact, + + kind: typeof SyntaxKind.JsxClosingFragment, + parent: JsxFragment + }; + + declare type JsxAttribute = { + ...$Exact, + + kind: typeof SyntaxKind.JsxAttribute, + parent: JsxAttributes, + name: Identifier, + initializer?: StringLiteral | JsxExpression + }; + + declare type JsxSpreadAttribute = { + ...$Exact, + + kind: typeof SyntaxKind.JsxSpreadAttribute, + parent: JsxAttributes, + expression: Expression + }; + + declare type JsxClosingElement = { + ...$Exact, + + kind: typeof SyntaxKind.JsxClosingElement, + parent: JsxElement, + tagName: JsxTagNameExpression + }; + + declare type JsxExpression = { + ...$Exact, + + kind: typeof SyntaxKind.JsxExpression, + parent: JsxElement | JsxAttributeLike, + dotDotDotToken?: Token, + expression?: Expression + }; + + declare type JsxText = { + ...$Exact, + + kind: typeof SyntaxKind.JsxText, + containsOnlyWhiteSpaces: boolean, + parent: JsxElement + }; + + declare type JsxChild = + | JsxText + | JsxExpression + | JsxElement + | JsxSelfClosingElement + | JsxFragment; + declare type Statement = { + ...$Exact, + + _statementBrand: any + }; + + declare type NotEmittedStatement = { + ...$Exact, + + kind: typeof SyntaxKind.NotEmittedStatement + }; + + declare type CommaListExpression = { + ...$Exact, + + kind: typeof SyntaxKind.CommaListExpression, + elements: NodeArray + }; + + declare type EmptyStatement = { + ...$Exact, + + kind: typeof SyntaxKind.EmptyStatement + }; + + declare type DebuggerStatement = { + ...$Exact, + + kind: typeof SyntaxKind.DebuggerStatement + }; + + declare type MissingDeclaration = { + ...$Exact, + + kind: typeof SyntaxKind.MissingDeclaration, + name?: Identifier + }; + + declare type BlockLike = + | SourceFile + | Block + | ModuleBlock + | CaseOrDefaultClause; + declare type Block = { + ...$Exact, + + kind: typeof SyntaxKind.Block, + statements: NodeArray + }; + + declare type VariableStatement = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.VariableStatement, + declarationList: VariableDeclarationList + }; + + declare type ExpressionStatement = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.ExpressionStatement, + expression: Expression + }; + + declare type IfStatement = { + ...$Exact, + + kind: typeof SyntaxKind.IfStatement, + expression: Expression, + thenStatement: Statement, + elseStatement?: Statement + }; + + declare type IterationStatement = { + ...$Exact, + + statement: Statement + }; + + declare type DoStatement = { + ...$Exact, + + kind: typeof SyntaxKind.DoStatement, + expression: Expression + }; + + declare type WhileStatement = { + ...$Exact, + + kind: typeof SyntaxKind.WhileStatement, + expression: Expression + }; + + declare type ForInitializer = VariableDeclarationList | Expression; + declare type ForStatement = { + ...$Exact, + + kind: typeof SyntaxKind.ForStatement, + initializer?: ForInitializer, + condition?: Expression, + incrementor?: Expression + }; + + declare type ForInOrOfStatement = ForInStatement | ForOfStatement; + declare type ForInStatement = { + ...$Exact, + + kind: typeof SyntaxKind.ForInStatement, + initializer: ForInitializer, + expression: Expression + }; + + declare type ForOfStatement = { + ...$Exact, + + kind: typeof SyntaxKind.ForOfStatement, + awaitModifier?: AwaitKeywordToken, + initializer: ForInitializer, + expression: Expression + }; + + declare type BreakStatement = { + ...$Exact, + + kind: typeof SyntaxKind.BreakStatement, + label?: Identifier + }; + + declare type ContinueStatement = { + ...$Exact, + + kind: typeof SyntaxKind.ContinueStatement, + label?: Identifier + }; + + declare type BreakOrContinueStatement = BreakStatement | ContinueStatement; + declare type ReturnStatement = { + ...$Exact, + + kind: typeof SyntaxKind.ReturnStatement, + expression?: Expression + }; + + declare type WithStatement = { + ...$Exact, + + kind: typeof SyntaxKind.WithStatement, + expression: Expression, + statement: Statement + }; + + declare type SwitchStatement = { + ...$Exact, + + kind: typeof SyntaxKind.SwitchStatement, + expression: Expression, + caseBlock: CaseBlock, + possiblyExhaustive?: boolean + }; + + declare type CaseBlock = { + ...$Exact, + + kind: typeof SyntaxKind.CaseBlock, + parent: SwitchStatement, + clauses: NodeArray + }; + + declare type CaseClause = { + ...$Exact, + + kind: typeof SyntaxKind.CaseClause, + parent: CaseBlock, + expression: Expression, + statements: NodeArray + }; + + declare type DefaultClause = { + ...$Exact, + + kind: typeof SyntaxKind.DefaultClause, + parent: CaseBlock, + statements: NodeArray + }; + + declare type CaseOrDefaultClause = CaseClause | DefaultClause; + declare type LabeledStatement = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.LabeledStatement, + label: Identifier, + statement: Statement + }; + + declare type ThrowStatement = { + ...$Exact, + + kind: typeof SyntaxKind.ThrowStatement, + expression?: Expression + }; + + declare type TryStatement = { + ...$Exact, + + kind: typeof SyntaxKind.TryStatement, + tryBlock: Block, + catchClause?: CatchClause, + finallyBlock?: Block + }; + + declare type CatchClause = { + ...$Exact, + + kind: typeof SyntaxKind.CatchClause, + parent: TryStatement, + variableDeclaration?: VariableDeclaration, + block: Block + }; + + declare type ObjectTypeDeclaration = + | ClassLikeDeclaration + | InterfaceDeclaration + | TypeLiteralNode; + declare type DeclarationWithTypeParameters = + | DeclarationWithTypeParameterChildren + | JSDocTypedefTag + | JSDocCallbackTag + | JSDocSignature; + declare type DeclarationWithTypeParameterChildren = + | SignatureDeclaration + | ClassLikeDeclaration + | InterfaceDeclaration + | TypeAliasDeclaration + | JSDocTemplateTag; + declare type ClassLikeDeclarationBase = { + ...$Exact, + ...$Exact, + + kind: + | typeof SyntaxKind.ClassDeclaration + | typeof SyntaxKind.ClassExpression, + name?: Identifier, + typeParameters?: NodeArray, + heritageClauses?: NodeArray, + members: NodeArray + }; + + declare type ClassDeclaration = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.ClassDeclaration, + name?: Identifier + }; + + declare type ClassExpression = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.ClassExpression + }; + + declare type ClassLikeDeclaration = ClassDeclaration | ClassExpression; + declare type ClassElement = { + ...$Exact, + + _classElementBrand: any, + name?: PropertyName + }; + + declare type TypeElement = { + ...$Exact, + + _typeElementBrand: any, + name?: PropertyName, + questionToken?: QuestionToken + }; + + declare type InterfaceDeclaration = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.InterfaceDeclaration, + name: Identifier, + typeParameters?: NodeArray, + heritageClauses?: NodeArray, + members: NodeArray + }; + + declare type HeritageClause = { + ...$Exact, + + kind: typeof SyntaxKind.HeritageClause, + parent: InterfaceDeclaration | ClassLikeDeclaration, + token: + | typeof SyntaxKind.ExtendsKeyword + | typeof SyntaxKind.ImplementsKeyword, + types: NodeArray + }; + + declare type TypeAliasDeclaration = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.TypeAliasDeclaration, + name: Identifier, + typeParameters?: NodeArray, + type: TypeNode + }; + + declare type EnumMember = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.EnumMember, + parent: EnumDeclaration, + name: PropertyName, + initializer?: Expression + }; + + declare type EnumDeclaration = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.EnumDeclaration, + name: Identifier, + members: NodeArray + }; + + declare type ModuleName = Identifier | StringLiteral; + declare type ModuleBody = NamespaceBody | JSDocNamespaceBody; + declare type ModuleDeclaration = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.ModuleDeclaration, + parent: ModuleBody | SourceFile, + name: ModuleName, + body?: ModuleBody | JSDocNamespaceDeclaration + }; + + declare type NamespaceBody = ModuleBlock | NamespaceDeclaration; + declare type NamespaceDeclaration = { + ...$Exact, + + name: Identifier, + body: NamespaceBody + }; + + declare type JSDocNamespaceBody = Identifier | JSDocNamespaceDeclaration; + declare type JSDocNamespaceDeclaration = { + ...$Exact, + + name: Identifier, + body?: JSDocNamespaceBody + }; + + declare type ModuleBlock = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.ModuleBlock, + parent: ModuleDeclaration, + statements: NodeArray + }; + + declare type ModuleReference = EntityName | ExternalModuleReference; + declare type ImportEqualsDeclaration = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.ImportEqualsDeclaration, + parent: SourceFile | ModuleBlock, + name: Identifier, + moduleReference: ModuleReference + }; + + declare type ExternalModuleReference = { + ...$Exact, + + kind: typeof SyntaxKind.ExternalModuleReference, + parent: ImportEqualsDeclaration, + expression: Expression + }; + + declare type ImportDeclaration = { + ...$Exact, + + kind: typeof SyntaxKind.ImportDeclaration, + parent: SourceFile | ModuleBlock, + importClause?: ImportClause, + moduleSpecifier: Expression + }; + + declare type NamedImportBindings = NamespaceImport | NamedImports; + declare type ImportClause = { + ...$Exact, + + kind: typeof SyntaxKind.ImportClause, + parent: ImportDeclaration, + name?: Identifier, + namedBindings?: NamedImportBindings + }; + + declare type NamespaceImport = { + ...$Exact, + + kind: typeof SyntaxKind.NamespaceImport, + parent: ImportClause, + name: Identifier + }; + + declare type NamespaceExportDeclaration = { + ...$Exact, + + kind: typeof SyntaxKind.NamespaceExportDeclaration, + name: Identifier + }; + + declare type ExportDeclaration = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.ExportDeclaration, + parent: SourceFile | ModuleBlock, + exportClause?: NamedExports, + moduleSpecifier?: Expression + }; + + declare type NamedImports = { + ...$Exact, + + kind: typeof SyntaxKind.NamedImports, + parent: ImportClause, + elements: NodeArray + }; + + declare type NamedExports = { + ...$Exact, + + kind: typeof SyntaxKind.NamedExports, + parent: ExportDeclaration, + elements: NodeArray + }; + + declare type NamedImportsOrExports = NamedImports | NamedExports; + declare type ImportSpecifier = { + ...$Exact, + + kind: typeof SyntaxKind.ImportSpecifier, + parent: NamedImports, + propertyName?: Identifier, + name: Identifier + }; + + declare type ExportSpecifier = { + ...$Exact, + + kind: typeof SyntaxKind.ExportSpecifier, + parent: NamedExports, + propertyName?: Identifier, + name: Identifier + }; + + declare type ImportOrExportSpecifier = ImportSpecifier | ExportSpecifier; + declare type ExportAssignment = { + ...$Exact, + + kind: typeof SyntaxKind.ExportAssignment, + parent: SourceFile, + isExportEquals?: boolean, + expression: Expression + }; + + declare type FileReference = { + ...$Exact, + + fileName: string + }; + + declare type CheckJsDirective = { + ...$Exact, + + enabled: boolean + }; + + declare type CommentKind = + | typeof SyntaxKind.SingleLineCommentTrivia + | typeof SyntaxKind.MultiLineCommentTrivia; + declare type CommentRange = { + ...$Exact, + + hasTrailingNewLine?: boolean, + kind: CommentKind + }; + + declare type SynthesizedComment = { + ...$Exact, + + text: string, + pos: -1, + end: -1 + }; + + declare type JSDocTypeExpression = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocTypeExpression, + type: TypeNode + }; + + declare type JSDocType = { + ...$Exact, + + _jsDocTypeBrand: any + }; + + declare type JSDocAllType = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocAllType + }; + + declare type JSDocUnknownType = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocUnknownType + }; + + declare type JSDocNonNullableType = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocNonNullableType, + type: TypeNode + }; + + declare type JSDocNullableType = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocNullableType, + type: TypeNode + }; + + declare type JSDocOptionalType = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocOptionalType, + type: TypeNode + }; + + declare type JSDocFunctionType = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.JSDocFunctionType + }; + + declare type JSDocVariadicType = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocVariadicType, + type: TypeNode + }; + + declare type JSDocTypeReferencingNode = + | JSDocVariadicType + | JSDocOptionalType + | JSDocNullableType + | JSDocNonNullableType; + declare type JSDoc = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocComment, + parent: HasJSDoc, + tags?: NodeArray, + comment?: string + }; + + declare type JSDocTag = { + ...$Exact, + + parent: JSDoc | JSDocTypeLiteral, + tagName: Identifier, + comment?: string + }; + + declare type JSDocUnknownTag = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocTag + }; + + declare type JSDocAugmentsTag = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocAugmentsTag, + class: ExpressionWithTypeArguments & { + expression: Identifier | PropertyAccessEntityNameExpression + } + }; + + declare type JSDocClassTag = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocClassTag + }; + + declare type JSDocEnumTag = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocEnumTag, + typeExpression?: JSDocTypeExpression + }; + + declare type JSDocThisTag = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocThisTag, + typeExpression?: JSDocTypeExpression + }; + + declare type JSDocTemplateTag = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocTemplateTag, + constraint: JSDocTypeExpression | void, + typeParameters: NodeArray + }; + + declare type JSDocReturnTag = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocReturnTag, + typeExpression?: JSDocTypeExpression + }; + + declare type JSDocTypeTag = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocTypeTag, + typeExpression?: JSDocTypeExpression + }; + + declare type JSDocTypedefTag = { + ...$Exact, + ...$Exact, + + parent: JSDoc, + kind: typeof SyntaxKind.JSDocTypedefTag, + fullName?: JSDocNamespaceDeclaration | Identifier, + name?: Identifier, + typeExpression?: JSDocTypeExpression | JSDocTypeLiteral + }; + + declare type JSDocCallbackTag = { + ...$Exact, + ...$Exact, + + parent: JSDoc, + kind: typeof SyntaxKind.JSDocCallbackTag, + fullName?: JSDocNamespaceDeclaration | Identifier, + name?: Identifier, + typeExpression: JSDocSignature + }; + + declare type JSDocSignature = { + ...$Exact, + ...$Exact, + + kind: typeof SyntaxKind.JSDocSignature, + typeParameters?: $ReadOnlyArray, + parameters: $ReadOnlyArray, + type: JSDocReturnTag | void + }; + + declare type JSDocPropertyLikeTag = { + ...$Exact, + ...$Exact, + + parent: JSDoc, + name: EntityName, + typeExpression?: JSDocTypeExpression, + isNameFirst: boolean, + isBracketed: boolean + }; + + declare type JSDocPropertyTag = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocPropertyTag + }; + + declare type JSDocParameterTag = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocParameterTag + }; + + declare type JSDocTypeLiteral = { + ...$Exact, + + kind: typeof SyntaxKind.JSDocTypeLiteral, + jsDocPropertyTags?: $ReadOnlyArray, + isArrayType?: boolean + }; + + declare var FlowFlags: { + +Unreachable: 1, // 1 + +Start: 2, // 2 + +BranchLabel: 4, // 4 + +LoopLabel: 8, // 8 + +Assignment: 16, // 16 + +TrueCondition: 32, // 32 + +FalseCondition: 64, // 64 + +SwitchClause: 128, // 128 + +ArrayMutation: 256, // 256 + +Referenced: 512, // 512 + +Shared: 1024, // 1024 + +PreFinally: 2048, // 2048 + +AfterFinally: 4096, // 4096 + +Label: 12, // 12 + +Condition: 96 // 96 + }; + + declare type FlowLock = { + locked?: boolean + }; + + declare type AfterFinallyFlow = { + ...$Exact, + ...$Exact, + + antecedent: FlowNode + }; + + declare type PreFinallyFlow = { + ...$Exact, + + antecedent: FlowNode, + lock: FlowLock + }; + + declare type FlowNode = + | AfterFinallyFlow + | PreFinallyFlow + | FlowStart + | FlowLabel + | FlowAssignment + | FlowCondition + | FlowSwitchClause + | FlowArrayMutation; + declare type FlowNodeBase = { + flags: $Values, + id?: number + }; + + declare type FlowStart = { + ...$Exact, + + container?: FunctionExpression | ArrowFunction | MethodDeclaration + }; + + declare type FlowLabel = { + ...$Exact, + + antecedents: FlowNode[] | void + }; + + declare type FlowAssignment = { + ...$Exact, + + node: Expression | VariableDeclaration | BindingElement, + antecedent: FlowNode + }; + + declare type FlowCondition = { + ...$Exact, + + expression: Expression, + antecedent: FlowNode + }; + + declare type FlowSwitchClause = { + ...$Exact, + + switchStatement: SwitchStatement, + clauseStart: number, + clauseEnd: number, + antecedent: FlowNode + }; + + declare type FlowArrayMutation = { + ...$Exact, + + node: CallExpression | BinaryExpression, + antecedent: FlowNode + }; + + declare type FlowType = Type | IncompleteType; + declare type IncompleteType = { + flags: $Values, + type: Type + }; + + declare type AmdDependency = { + path: string, + name?: string + }; + + declare type SourceFile = { + ...$Exact, + + kind: typeof SyntaxKind.SourceFile, + statements: NodeArray, + endOfFileToken: Token, + fileName: string, + text: string, + amdDependencies: $ReadOnlyArray, + moduleName?: string, + referencedFiles: $ReadOnlyArray, + typeReferenceDirectives: $ReadOnlyArray, + libReferenceDirectives: $ReadOnlyArray, + languageVariant: $Values, + isDeclarationFile: boolean, + hasNoDefaultLib: boolean, + languageVersion: $Values, + getLineAndCharacterOfPosition(pos: number): LineAndCharacter, + getLineEndOfPosition(pos: number): number, + getLineStarts(): $ReadOnlyArray, + getPositionOfLineAndCharacter(line: number, character: number): number, + update(newText: string, textChangeRange: TextChangeRange): SourceFile + }; + + declare type Bundle = { + ...$Exact, + + kind: typeof SyntaxKind.Bundle, + prepends: $ReadOnlyArray, + sourceFiles: $ReadOnlyArray + }; + + declare type InputFiles = { + ...$Exact, + + kind: typeof SyntaxKind.InputFiles, + javascriptPath?: string, + javascriptText: string, + javascriptMapPath?: string, + javascriptMapText?: string, + declarationPath?: string, + declarationText: string, + declarationMapPath?: string, + declarationMapText?: string + }; + + declare type UnparsedSource = { + ...$Exact, + + kind: typeof SyntaxKind.UnparsedSource, + fileName?: string, + text: string, + sourceMapPath?: string, + sourceMapText?: string + }; + + declare type JsonSourceFile = { + ...$Exact, + + statements: NodeArray + }; + + declare type TsConfigSourceFile = { + ...$Exact, + + extendedSourceFiles?: string[] + }; + + declare type JsonMinusNumericLiteral = { + ...$Exact, + + kind: typeof SyntaxKind.PrefixUnaryExpression, + operator: typeof SyntaxKind.MinusToken, + operand: NumericLiteral + }; + + declare type JsonObjectExpressionStatement = { + ...$Exact, + + expression: + | ObjectLiteralExpression + | ArrayLiteralExpression + | JsonMinusNumericLiteral + | NumericLiteral + | StringLiteral + | BooleanLiteral + | NullLiteral + }; + + declare type ScriptReferenceHost = { + getCompilerOptions(): CompilerOptions, + getSourceFile(fileName: string): SourceFile | void, + getSourceFileByPath(path: Path): SourceFile | void, + getCurrentDirectory(): string + }; + + declare type ParseConfigHost = { + useCaseSensitiveFileNames: boolean, + readDirectory( + rootDir: string, + extensions: $ReadOnlyArray, + excludes: $ReadOnlyArray | void, + includes: $ReadOnlyArray, + depth?: number + ): $ReadOnlyArray, + fileExists(path: string): boolean, + readFile(path: string): string | void, + trace?: (s: string) => void + }; + + declare type ResolvedConfigFileName = string & { + _isResolvedConfigFileName: empty + }; + declare type WriteFileCallback = ( + fileName: string, + data: string, + writeByteOrderMark: boolean, + onError?: (message: string) => void, + sourceFiles?: $ReadOnlyArray + ) => void; + declare class OperationCanceledException {} + declare type CancellationToken = { + isCancellationRequested(): boolean, + throwIfCancellationRequested(): void + }; + + declare type Program = { + ...$Exact, + + getRootFileNames(): $ReadOnlyArray, + getSourceFiles(): $ReadOnlyArray, + emit( + targetSourceFile?: SourceFile, + writeFile?: WriteFileCallback, + cancellationToken?: CancellationToken, + emitOnlyDtsFiles?: boolean, + customTransformers?: CustomTransformers + ): EmitResult, + getOptionsDiagnostics( + cancellationToken?: CancellationToken + ): $ReadOnlyArray, + getGlobalDiagnostics( + cancellationToken?: CancellationToken + ): $ReadOnlyArray, + getSyntacticDiagnostics( + sourceFile?: SourceFile, + cancellationToken?: CancellationToken + ): $ReadOnlyArray, + getSemanticDiagnostics( + sourceFile?: SourceFile, + cancellationToken?: CancellationToken + ): $ReadOnlyArray, + getDeclarationDiagnostics( + sourceFile?: SourceFile, + cancellationToken?: CancellationToken + ): $ReadOnlyArray, + getConfigFileParsingDiagnostics(): $ReadOnlyArray, + getTypeChecker(): TypeChecker, + isSourceFileFromExternalLibrary(file: SourceFile): boolean, + isSourceFileDefaultLibrary(file: SourceFile): boolean, + getProjectReferences(): $ReadOnlyArray | void, + getResolvedProjectReferences(): $ReadOnlyArray | void + }; + + declare type ResolvedProjectReference = { + commandLine: ParsedCommandLine, + sourceFile: SourceFile, + references?: $ReadOnlyArray + }; + + declare type CustomTransformers = { + before?: TransformerFactory[], + after?: TransformerFactory[], + afterDeclarations?: TransformerFactory[] + }; + + declare type SourceMapSpan = { + emittedLine: number, + emittedColumn: number, + sourceLine: number, + sourceColumn: number, + nameIndex?: number, + sourceIndex: number + }; + + declare var ExitStatus: { + +Success: 0, // 0 + +DiagnosticsPresent_OutputsSkipped: 1, // 1 + +DiagnosticsPresent_OutputsGenerated: 2 // 2 + }; + + declare type EmitResult = { + emitSkipped: boolean, + diagnostics: $ReadOnlyArray, + emittedFiles?: string[] + }; + + declare type TypeChecker = { + getTypeOfSymbolAtLocation(symbol: Symbol, node: Node): Type, + getDeclaredTypeOfSymbol(symbol: Symbol): Type, + getPropertiesOfType(type: Type): Symbol[], + getPropertyOfType(type: Type, propertyName: string): Symbol | void, + getIndexInfoOfType( + type: Type, + kind: $Values + ): IndexInfo | void, + getSignaturesOfType( + type: Type, + kind: $Values + ): $ReadOnlyArray, + getIndexTypeOfType( + type: Type, + kind: $Values + ): Type | void, + getBaseTypes(type: InterfaceType): BaseType[], + getBaseTypeOfLiteralType(type: Type): Type, + getWidenedType(type: Type): Type, + getReturnTypeOfSignature(signature: Signature): Type, + getNullableType(type: Type, flags: $Values): Type, + getNonNullableType(type: Type): Type, + typeToTypeNode( + type: Type, + enclosingDeclaration?: Node, + flags?: $Values + ): TypeNode | void, + signatureToSignatureDeclaration( + signature: Signature, + kind: $Values, + enclosingDeclaration?: Node, + flags?: $Values + ): + | (SignatureDeclaration & { + typeArguments?: NodeArray + }) + | void, + indexInfoToIndexSignatureDeclaration( + indexInfo: IndexInfo, + kind: $Values, + enclosingDeclaration?: Node, + flags?: $Values + ): IndexSignatureDeclaration | void, + symbolToEntityName( + symbol: Symbol, + meaning: $Values, + enclosingDeclaration?: Node, + flags?: $Values + ): EntityName | void, + symbolToExpression( + symbol: Symbol, + meaning: $Values, + enclosingDeclaration?: Node, + flags?: $Values + ): Expression | void, + symbolToTypeParameterDeclarations( + symbol: Symbol, + enclosingDeclaration?: Node, + flags?: $Values + ): NodeArray | void, + symbolToParameterDeclaration( + symbol: Symbol, + enclosingDeclaration?: Node, + flags?: $Values + ): ParameterDeclaration | void, + typeParameterToDeclaration( + parameter: TypeParameter, + enclosingDeclaration?: Node, + flags?: $Values + ): TypeParameterDeclaration | void, + getSymbolsInScope( + location: Node, + meaning: $Values + ): Symbol[], + getSymbolAtLocation(node: Node): Symbol | void, + getSymbolsOfParameterPropertyDeclaration( + parameter: ParameterDeclaration, + parameterName: string + ): Symbol[], + getShorthandAssignmentValueSymbol(location: Node): Symbol | void, + getExportSpecifierLocalTargetSymbol( + location: ExportSpecifier + ): Symbol | void, + getExportSymbolOfSymbol(symbol: Symbol): Symbol, + getPropertySymbolOfDestructuringAssignment( + location: Identifier + ): Symbol | void, + getTypeAtLocation(node: Node): Type, + getTypeFromTypeNode(node: TypeNode): Type, + signatureToString( + signature: Signature, + enclosingDeclaration?: Node, + flags?: $Values, + kind?: $Values + ): string, + typeToString( + type: Type, + enclosingDeclaration?: Node, + flags?: $Values + ): string, + symbolToString( + symbol: Symbol, + enclosingDeclaration?: Node, + meaning?: $Values, + flags?: $Values + ): string, + typePredicateToString( + predicate: TypePredicate, + enclosingDeclaration?: Node, + flags?: $Values + ): string, + getFullyQualifiedName(symbol: Symbol): string, + getAugmentedPropertiesOfType(type: Type): Symbol[], + getRootSymbols(symbol: Symbol): $ReadOnlyArray, + getContextualType(node: Expression): Type | void, + getResolvedSignature( + node: CallLikeExpression, + candidatesOutArray?: Signature[], + argumentCount?: number + ): Signature | void, + getSignatureFromDeclaration( + declaration: SignatureDeclaration + ): Signature | void, + isImplementationOfOverload(node: SignatureDeclaration): boolean | void, + isUndefinedSymbol(symbol: Symbol): boolean, + isArgumentsSymbol(symbol: Symbol): boolean, + isUnknownSymbol(symbol: Symbol): boolean, + getConstantValue( + node: EnumMember | PropertyAccessExpression | ElementAccessExpression + ): string | number | void, + isValidPropertyAccess( + node: PropertyAccessExpression | QualifiedName | ImportTypeNode, + propertyName: string + ): boolean, + getAliasedSymbol(symbol: Symbol): Symbol, + getExportsOfModule(moduleSymbol: Symbol): Symbol[], + getJsxIntrinsicTagNamesAt(location: Node): Symbol[], + isOptionalParameter(node: ParameterDeclaration): boolean, + getAmbientModules(): Symbol[], + tryGetMemberInModuleExports( + memberName: string, + moduleSymbol: Symbol + ): Symbol | void, + getApparentType(type: Type): Type, + getBaseConstraintOfType(type: Type): Type | void, + getDefaultFromTypeParameter(type: Type): Type | void, + runWithCancellationToken( + token: CancellationToken, + cb: (checker: TypeChecker) => T + ): T + }; + + declare var NodeBuilderFlags: { + +None: 0, // 0 + +NoTruncation: 1, // 1 + +WriteArrayAsGenericType: 2, // 2 + +GenerateNamesForShadowedTypeParams: 4, // 4 + +UseStructuralFallback: 8, // 8 + +ForbidIndexedAccessSymbolReferences: 16, // 16 + +WriteTypeArgumentsOfSignature: 32, // 32 + +UseFullyQualifiedType: 64, // 64 + +UseOnlyExternalAliasing: 128, // 128 + +SuppressAnyReturnType: 256, // 256 + +WriteTypeParametersInQualifiedName: 512, // 512 + +MultilineObjectLiterals: 1024, // 1024 + +WriteClassExpressionAsTypeLiteral: 2048, // 2048 + +UseTypeOfFunction: 4096, // 4096 + +OmitParameterModifiers: 8192, // 8192 + +UseAliasDefinedOutsideCurrentScope: 16384, // 16384 + +AllowThisInObjectLiteral: 32768, // 32768 + +AllowQualifedNameInPlaceOfIdentifier: 65536, // 65536 + +AllowAnonymousIdentifier: 131072, // 131072 + +AllowEmptyUnionOrIntersection: 262144, // 262144 + +AllowEmptyTuple: 524288, // 524288 + +AllowUniqueESSymbolType: 1048576, // 1048576 + +AllowEmptyIndexInfoType: 2097152, // 2097152 + +AllowNodeModulesRelativePaths: 67108864, // 67108864 + +IgnoreErrors: 70221824, // 70221824 + +InObjectTypeLiteral: 4194304, // 4194304 + +InTypeAlias: 8388608, // 8388608 + +InInitialEntityName: 16777216, // 16777216 + +InReverseMappedType: 33554432 // 33554432 + }; + + declare var TypeFormatFlags: { + +None: 0, // 0 + +NoTruncation: 1, // 1 + +WriteArrayAsGenericType: 2, // 2 + +UseStructuralFallback: 8, // 8 + +WriteTypeArgumentsOfSignature: 32, // 32 + +UseFullyQualifiedType: 64, // 64 + +SuppressAnyReturnType: 256, // 256 + +MultilineObjectLiterals: 1024, // 1024 + +WriteClassExpressionAsTypeLiteral: 2048, // 2048 + +UseTypeOfFunction: 4096, // 4096 + +OmitParameterModifiers: 8192, // 8192 + +UseAliasDefinedOutsideCurrentScope: 16384, // 16384 + +AllowUniqueESSymbolType: 1048576, // 1048576 + +AddUndefined: 131072, // 131072 + +WriteArrowStyleSignature: 262144, // 262144 + +InArrayType: 524288, // 524288 + +InElementType: 2097152, // 2097152 + +InFirstTypeArgument: 4194304, // 4194304 + +InTypeAlias: 8388608, // 8388608 + +WriteOwnNameForAnyLike: 0, // 0 + +NodeBuilderFlagsMask: 9469291 // 9469291 + }; + + declare var SymbolFormatFlags: { + +None: 0, // 0 + +WriteTypeParametersOrArguments: 1, // 1 + +UseOnlyExternalAliasing: 2, // 2 + +AllowAnyNodeKind: 4, // 4 + +UseAliasDefinedOutsideCurrentScope: 8 // 8 + }; + + declare var TypePredicateKind: { + +This: 0, // 0 + +Identifier: 1 // 1 + }; + + declare type TypePredicateBase = { + kind: $Values, + type: Type + }; + + declare type ThisTypePredicate = { + ...$Exact, + + kind: typeof TypePredicateKind.This + }; + + declare type IdentifierTypePredicate = { + ...$Exact, + + kind: typeof TypePredicateKind.Identifier, + parameterName: string, + parameterIndex: number + }; + + declare type TypePredicate = IdentifierTypePredicate | ThisTypePredicate; + + declare var SymbolFlags: { + +None: 0, // 0 + +FunctionScopedVariable: 1, // 1 + +BlockScopedVariable: 2, // 2 + +Property: 4, // 4 + +EnumMember: 8, // 8 + +Function: 16, // 16 + +Class: 32, // 32 + +Interface: 64, // 64 + +ConstEnum: 128, // 128 + +RegularEnum: 256, // 256 + +ValueModule: 512, // 512 + +NamespaceModule: 1024, // 1024 + +TypeLiteral: 2048, // 2048 + +ObjectLiteral: 4096, // 4096 + +Method: 8192, // 8192 + +Constructor: 16384, // 16384 + +GetAccessor: 32768, // 32768 + +SetAccessor: 65536, // 65536 + +Signature: 131072, // 131072 + +TypeParameter: 262144, // 262144 + +TypeAlias: 524288, // 524288 + +ExportValue: 1048576, // 1048576 + +Alias: 2097152, // 2097152 + +Prototype: 4194304, // 4194304 + +ExportStar: 8388608, // 8388608 + +Optional: 16777216, // 16777216 + +Transient: 33554432, // 33554432 + +Assignment: 67108864, // 67108864 + +ModuleExports: 134217728, // 134217728 + +Enum: 384, // 384 + +Variable: 3, // 3 + +Value: 67220415, // 67220415 + +Type: 67897832, // 67897832 + +Namespace: 1920, // 1920 + +Module: 1536, // 1536 + +Accessor: 98304, // 98304 + +FunctionScopedVariableExcludes: 67220414, // 67220414 + +BlockScopedVariableExcludes: 67220415, // 67220415 + +ParameterExcludes: 67220415, // 67220415 + +PropertyExcludes: 0, // 0 + +EnumMemberExcludes: 68008959, // 68008959 + +FunctionExcludes: 67219887, // 67219887 + +ClassExcludes: 68008383, // 68008383 + +InterfaceExcludes: 67897736, // 67897736 + +RegularEnumExcludes: 68008191, // 68008191 + +ConstEnumExcludes: 68008831, // 68008831 + +ValueModuleExcludes: 110735, // 110735 + +NamespaceModuleExcludes: 0, // 0 + +MethodExcludes: 67212223, // 67212223 + +GetAccessorExcludes: 67154879, // 67154879 + +SetAccessorExcludes: 67187647, // 67187647 + +TypeParameterExcludes: 67635688, // 67635688 + +TypeAliasExcludes: 67897832, // 67897832 + +AliasExcludes: 2097152, // 2097152 + +ModuleMember: 2623475, // 2623475 + +ExportHasLocal: 944, // 944 + +BlockScoped: 418, // 418 + +PropertyOrAccessor: 98308, // 98308 + +ClassMember: 106500 // 106500 + }; + + declare type Symbol = { + flags: $Values, + escapedName: __String, + declarations: Declaration[], + valueDeclaration: Declaration, + members?: SymbolTable, + exports?: SymbolTable, + globalExports?: SymbolTable, + +name: string, + getFlags(): $Values, + getEscapedName(): __String, + getName(): string, + getDeclarations(): Declaration[] | void, + getDocumentationComment( + typeChecker: TypeChecker | void + ): SymbolDisplayPart[], + getJsDocTags(): JSDocTagInfo[] + }; + + declare var InternalSymbolName: { + +Call: "__call", // "__call" + +Constructor: "__constructor", // "__constructor" + +New: "__new", // "__new" + +Index: "__index", // "__index" + +ExportStar: "__export", // "__export" + +Global: "__global", // "__global" + +Missing: "__missing", // "__missing" + +Type: "__type", // "__type" + +Object: "__object", // "__object" + +JSXAttributes: "__jsxAttributes", // "__jsxAttributes" + +Class: "__class", // "__class" + +Function: "__function", // "__function" + +Computed: "__computed", // "__computed" + +Resolving: "__resolving__", // "__resolving__" + +ExportEquals: "export=", // "export=" + +Default: "default", // "default" + +This: "this" // "this" + }; + + declare type __String = + | (string & { + __escapedIdentifier: void + }) + | (void & { + __escapedIdentifier: void + }) + | $Values; + + declare class ReadonlyUnderscoreEscapedMap { + get(key: __String): T | void, + has(key: __String): boolean, + forEach(action: (value: T, key: __String) => void): void, + +size: number, + keys(): Iterator<__String>, + values(): Iterator, + entries(): Iterator<[__String, T]> + } + + declare class UnderscoreEscapedMap extends ReadonlyUnderscoreEscapedMap { + set(key: __String, value: T): this, + delete(key: __String): boolean, + clear(): void + } + + declare type SymbolTable = UnderscoreEscapedMap; + + declare var TypeFlags: { + +Any: 1, // 1 + +Unknown: 2, // 2 + +String: 4, // 4 + +Number: 8, // 8 + +Boolean: 16, // 16 + +Enum: 32, // 32 + +BigInt: 64, // 64 + +StringLiteral: 128, // 128 + +NumberLiteral: 256, // 256 + +BooleanLiteral: 512, // 512 + +EnumLiteral: 1024, // 1024 + +BigIntLiteral: 2048, // 2048 + +ESSymbol: 4096, // 4096 + +UniqueESSymbol: 8192, // 8192 + +Void: 16384, // 16384 + +Undefined: 32768, // 32768 + +Null: 65536, // 65536 + +Never: 131072, // 131072 + +TypeParameter: 262144, // 262144 + +Object: 524288, // 524288 + +Union: 1048576, // 1048576 + +Intersection: 2097152, // 2097152 + +Index: 4194304, // 4194304 + +IndexedAccess: 8388608, // 8388608 + +Conditional: 16777216, // 16777216 + +Substitution: 33554432, // 33554432 + +NonPrimitive: 67108864, // 67108864 + +Literal: 2944, // 2944 + +Unit: 109440, // 109440 + +StringOrNumberLiteral: 384, // 384 + +PossiblyFalsy: 117724, // 117724 + +StringLike: 132, // 132 + +NumberLike: 296, // 296 + +BigIntLike: 2112, // 2112 + +BooleanLike: 528, // 528 + +EnumLike: 1056, // 1056 + +ESSymbolLike: 12288, // 12288 + +VoidLike: 49152, // 49152 + +UnionOrIntersection: 3145728, // 3145728 + +StructuredType: 3670016, // 3670016 + +TypeVariable: 8650752, // 8650752 + +InstantiableNonPrimitive: 58982400, // 58982400 + +InstantiablePrimitive: 4194304, // 4194304 + +Instantiable: 63176704, // 63176704 + +StructuredOrInstantiable: 66846720, // 66846720 + +Narrowable: 133970943, // 133970943 + +NotUnionOrUnit: 67637251 // 67637251 + }; + + declare type DestructuringPattern = + | BindingPattern + | ObjectLiteralExpression + | ArrayLiteralExpression; + declare type Type = { + flags: $Values, + symbol: Symbol, + pattern?: DestructuringPattern, + aliasSymbol?: Symbol, + aliasTypeArguments?: $ReadOnlyArray, + getFlags(): $Values, + getSymbol(): Symbol | void, + getProperties(): Symbol[], + getProperty(propertyName: string): Symbol | void, + getApparentProperties(): Symbol[], + getCallSignatures(): $ReadOnlyArray, + getConstructSignatures(): $ReadOnlyArray, + getStringIndexType(): Type | void, + getNumberIndexType(): Type | void, + getBaseTypes(): BaseType[] | void, + getNonNullableType(): Type, + getConstraint(): Type | void, + getDefault(): Type | void, + isUnion(): boolean, + isIntersection(): boolean, + isUnionOrIntersection(): boolean, + isLiteral(): boolean, + isStringLiteral(): boolean, + isNumberLiteral(): boolean, + isTypeParameter(): boolean, + isClassOrInterface(): boolean, + isClass(): boolean + }; + + declare type LiteralType = { + ...$Exact, + + value: string | number | PseudoBigInt, + freshType: LiteralType, + regularType: LiteralType + }; + + declare type UniqueESSymbolType = { + ...$Exact, + + symbol: Symbol, + escapedName: __String + }; + + declare type StringLiteralType = { + ...$Exact, + + value: string + }; + + declare type NumberLiteralType = { + ...$Exact, + + value: number + }; + + declare type BigIntLiteralType = { + ...$Exact, + + value: PseudoBigInt + }; + + declare type EnumType = { ...$Exact }; + + declare var ObjectFlags: { + +Class: 1, // 1 + +Interface: 2, // 2 + +Reference: 4, // 4 + +Tuple: 8, // 8 + +Anonymous: 16, // 16 + +Mapped: 32, // 32 + +Instantiated: 64, // 64 + +ObjectLiteral: 128, // 128 + +EvolvingArray: 256, // 256 + +ObjectLiteralPatternWithComputedProperties: 512, // 512 + +ContainsSpread: 1024, // 1024 + +ReverseMapped: 2048, // 2048 + +JsxAttributes: 4096, // 4096 + +MarkerType: 8192, // 8192 + +JSLiteral: 16384, // 16384 + +FreshLiteral: 32768, // 32768 + +ClassOrInterface: 3 // 3 + }; + + declare type ObjectType = { + ...$Exact, + + objectFlags: $Values + }; + + declare type InterfaceType = { + ...$Exact, + + typeParameters: TypeParameter[] | void, + outerTypeParameters: TypeParameter[] | void, + localTypeParameters: TypeParameter[] | void, + thisType: TypeParameter | void + }; + + declare type BaseType = ObjectType | IntersectionType; + declare type InterfaceTypeWithDeclaredMembers = { + ...$Exact, + + declaredProperties: Symbol[], + declaredCallSignatures: Signature[], + declaredConstructSignatures: Signature[], + declaredStringIndexInfo?: IndexInfo, + declaredNumberIndexInfo?: IndexInfo + }; + + declare type TypeReference = { + ...$Exact, + + target: GenericType, + typeArguments?: $ReadOnlyArray + }; + + declare type GenericType = { + ...$Exact, + ...$Exact + }; + + declare type TupleType = { + ...$Exact, + + minLength: number, + hasRestElement: boolean, + associatedNames?: __String[] + }; + + declare type TupleTypeReference = { + ...$Exact, + + target: TupleType + }; + + declare type UnionOrIntersectionType = { + ...$Exact, + + types: Type[] + }; + + declare type UnionType = { ...$Exact }; + + declare type IntersectionType = { ...$Exact }; + + declare type StructuredType = ObjectType | UnionType | IntersectionType; + declare type EvolvingArrayType = { + ...$Exact, + + elementType: Type, + finalArrayType?: Type + }; + + declare type InstantiableType = { ...$Exact }; + + declare type TypeParameter = { ...$Exact }; + + declare type IndexedAccessType = { + ...$Exact, + + objectType: Type, + indexType: Type, + constraint?: Type, + simplified?: Type + }; + + declare type TypeVariable = TypeParameter | IndexedAccessType; + declare type IndexType = { + ...$Exact, + + type: InstantiableType | UnionOrIntersectionType + }; + + declare type ConditionalRoot = { + node: ConditionalTypeNode, + checkType: Type, + extendsType: Type, + trueType: Type, + falseType: Type, + isDistributive: boolean, + inferTypeParameters?: TypeParameter[], + outerTypeParameters?: TypeParameter[], + instantiations?: Map, + aliasSymbol?: Symbol, + aliasTypeArguments?: Type[] + }; + + declare type ConditionalType = { + ...$Exact, + + root: ConditionalRoot, + checkType: Type, + extendsType: Type, + resolvedTrueType?: Type, + resolvedFalseType?: Type + }; + + declare type SubstitutionType = { + ...$Exact, + + typeVariable: TypeVariable, + substitute: Type + }; + + declare var SignatureKind: { + +Call: 0, // 0 + +Construct: 1 // 1 + }; + + declare type Signature = { + declaration?: SignatureDeclaration | JSDocSignature, + typeParameters?: $ReadOnlyArray, + parameters: $ReadOnlyArray, + getDeclaration(): SignatureDeclaration, + getTypeParameters(): TypeParameter[] | void, + getParameters(): Symbol[], + getReturnType(): Type, + getDocumentationComment( + typeChecker: TypeChecker | void + ): SymbolDisplayPart[], + getJsDocTags(): JSDocTagInfo[] + }; + + declare var IndexKind: { + +String: 0, // 0 + +Number: 1 // 1 + }; + + declare type IndexInfo = { + type: Type, + isReadonly: boolean, + declaration?: IndexSignatureDeclaration + }; + + declare var InferencePriority: { + +NakedTypeVariable: 1, // 1 + +HomomorphicMappedType: 2, // 2 + +MappedTypeConstraint: 4, // 4 + +ReturnType: 8, // 8 + +LiteralKeyof: 16, // 16 + +NoConstraints: 32, // 32 + +AlwaysStrict: 64, // 64 + +PriorityImpliesCombination: 28 // 28 + }; + + declare type JsFileExtensionInfo = FileExtensionInfo; + declare type FileExtensionInfo = { + extension: string, + isMixedContent: boolean, + scriptKind?: $Values + }; + + declare type DiagnosticMessage = { + key: string, + category: $Values, + code: number, + message: string, + reportsUnnecessary?: {} + }; + + declare type DiagnosticMessageChain = { + messageText: string, + category: $Values, + code: number, + next?: DiagnosticMessageChain + }; + + declare type Diagnostic = { + ...$Exact, + + reportsUnnecessary?: {}, + source?: string, + relatedInformation?: DiagnosticRelatedInformation[] + }; + + declare type DiagnosticRelatedInformation = { + category: $Values, + code: number, + file: SourceFile | void, + start: number | void, + length: number | void, + messageText: string | DiagnosticMessageChain + }; + + declare type DiagnosticWithLocation = { + ...$Exact, + + file: SourceFile, + start: number, + length: number + }; + + declare var DiagnosticCategory: { + +Warning: 0, // 0 + +Error: 1, // 1 + +Suggestion: 2, // 2 + +Message: 3 // 3 + }; + + declare var ModuleResolutionKind: { + +Classic: 1, // 1 + +NodeJs: 2 // 2 + }; + + declare type PluginImport = { + name: string + }; + + declare type ProjectReference = { + path: string, + originalPath?: string, + prepend?: boolean, + circular?: boolean + }; + + declare type CompilerOptionsValue = + | string + | number + | boolean + | (string | number)[] + | string[] + | MapLike + | PluginImport[] + | ProjectReference[] + | null + | void; + declare type CompilerOptions = { + allowJs?: boolean, + allowSyntheticDefaultImports?: boolean, + allowUnreachableCode?: boolean, + allowUnusedLabels?: boolean, + alwaysStrict?: boolean, + baseUrl?: string, + charset?: string, + checkJs?: boolean, + declaration?: boolean, + declarationMap?: boolean, + emitDeclarationOnly?: boolean, + declarationDir?: string, + disableSizeLimit?: boolean, + downlevelIteration?: boolean, + emitBOM?: boolean, + emitDecoratorMetadata?: boolean, + experimentalDecorators?: boolean, + forceConsistentCasingInFileNames?: boolean, + importHelpers?: boolean, + inlineSourceMap?: boolean, + inlineSources?: boolean, + isolatedModules?: boolean, + jsx?: $Values, + keyofStringsOnly?: boolean, + lib?: string[], + locale?: string, + mapRoot?: string, + maxNodeModuleJsDepth?: number, + module?: $Values, + moduleResolution?: $Values, + newLine?: $Values, + noEmit?: boolean, + noEmitHelpers?: boolean, + noEmitOnError?: boolean, + noErrorTruncation?: boolean, + noFallthroughCasesInSwitch?: boolean, + noImplicitAny?: boolean, + noImplicitReturns?: boolean, + noImplicitThis?: boolean, + noStrictGenericChecks?: boolean, + noUnusedLocals?: boolean, + noUnusedParameters?: boolean, + noImplicitUseStrict?: boolean, + noLib?: boolean, + noResolve?: boolean, + out?: string, + outDir?: string, + outFile?: string, + paths?: MapLike, + preserveConstEnums?: boolean, + preserveSymlinks?: boolean, + project?: string, + reactNamespace?: string, + jsxFactory?: string, + composite?: boolean, + removeComments?: boolean, + rootDir?: string, + rootDirs?: string[], + skipLibCheck?: boolean, + skipDefaultLibCheck?: boolean, + sourceMap?: boolean, + sourceRoot?: string, + strict?: boolean, + strictFunctionTypes?: boolean, + strictBindCallApply?: boolean, + strictNullChecks?: boolean, + strictPropertyInitialization?: boolean, + stripInternal?: boolean, + suppressExcessPropertyErrors?: boolean, + suppressImplicitAnyIndexErrors?: boolean, + target?: $Values, + traceResolution?: boolean, + resolveJsonModule?: boolean, + types?: string[], + typeRoots?: string[], + esModuleInterop?: boolean, + [option: string]: CompilerOptionsValue | TsConfigSourceFile | void + }; + + declare type TypeAcquisition = { + enableAutoDiscovery?: boolean, + enable?: boolean, + include?: string[], + exclude?: string[], + [option: string]: string[] | boolean | void + }; + + declare var ModuleKind: { + +None: 0, // 0 + +CommonJS: 1, // 1 + +AMD: 2, // 2 + +UMD: 3, // 3 + +System: 4, // 4 + +ES2015: 5, // 5 + +ESNext: 6 // 6 + }; + + declare var JsxEmit: { + +None: 0, // 0 + +Preserve: 1, // 1 + +React: 2, // 2 + +ReactNative: 3 // 3 + }; + + declare var NewLineKind: { + +CarriageReturnLineFeed: 0, // 0 + +LineFeed: 1 // 1 + }; + + declare type LineAndCharacter = { + line: number, + character: number + }; + + declare var ScriptKind: { + +Unknown: 0, // 0 + +JS: 1, // 1 + +JSX: 2, // 2 + +TS: 3, // 3 + +TSX: 4, // 4 + +External: 5, // 5 + +JSON: 6, // 6 + +Deferred: 7 // 7 + }; + + declare var ScriptTarget: { + +ES3: 0, // 0 + +ES5: 1, // 1 + +ES2015: 2, // 2 + +ES2016: 3, // 3 + +ES2017: 4, // 4 + +ES2018: 5, // 5 + +ESNext: 6, // 6 + +JSON: 100, // 100 + +Latest: 6 // 6 + }; + + declare var LanguageVariant: { + +Standard: 0, // 0 + +JSX: 1 // 1 + }; + + declare type ParsedCommandLine = { + options: CompilerOptions, + typeAcquisition?: TypeAcquisition, + fileNames: string[], + projectReferences?: $ReadOnlyArray, + raw?: any, + errors: Diagnostic[], + wildcardDirectories?: MapLike<$Values>, + compileOnSave?: boolean + }; + + declare var WatchDirectoryFlags: { + +None: 0, // 0 + +Recursive: 1 // 1 + }; + + declare type ExpandResult = { + fileNames: string[], + wildcardDirectories: MapLike<$Values> + }; + + declare type CreateProgramOptions = { + rootNames: $ReadOnlyArray, + options: CompilerOptions, + projectReferences?: $ReadOnlyArray, + host?: CompilerHost, + oldProgram?: Program, + configFileParsingDiagnostics?: $ReadOnlyArray + }; + + declare type ModuleResolutionHost = { + fileExists(fileName: string): boolean, + readFile(fileName: string): string | void, + trace?: (s: string) => void, + directoryExists?: (directoryName: string) => boolean, + realpath?: (path: string) => string, + getCurrentDirectory?: () => string, + getDirectories?: (path: string) => string[] + }; + + declare type ResolvedModule = { + resolvedFileName: string, + isExternalLibraryImport?: boolean + }; + + declare type ResolvedModuleFull = { + ...$Exact, + + extension: $Values, + packageId?: PackageId + }; + + declare type PackageId = { + name: string, + subModuleName: string, + version: string + }; + + declare var Extension: { + +Ts: ".ts", // ".ts" + +Tsx: ".tsx", // ".tsx" + +Dts: ".d.ts", // ".d.ts" + +Js: ".js", // ".js" + +Jsx: ".jsx", // ".jsx" + +Json: ".json" // ".json" + }; + + declare type ResolvedModuleWithFailedLookupLocations = { + +resolvedModule: ResolvedModuleFull | void + }; + + declare type ResolvedTypeReferenceDirective = { + primary: boolean, + resolvedFileName: string | void, + packageId?: PackageId, + isExternalLibraryImport?: boolean + }; + + declare type ResolvedTypeReferenceDirectiveWithFailedLookupLocations = { + +resolvedTypeReferenceDirective: ResolvedTypeReferenceDirective | void, + +failedLookupLocations: $ReadOnlyArray + }; + + declare type CompilerHost = { + ...$Exact, + + getSourceFile( + fileName: string, + languageVersion: $Values, + onError?: (message: string) => void, + shouldCreateNewSourceFile?: boolean + ): SourceFile | void, + getSourceFileByPath?: ( + fileName: string, + path: Path, + languageVersion: $Values, + onError?: (message: string) => void, + shouldCreateNewSourceFile?: boolean + ) => SourceFile | void, + getCancellationToken?: () => CancellationToken, + getDefaultLibFileName(options: CompilerOptions): string, + getDefaultLibLocation?: () => string, + writeFile: WriteFileCallback, + getCurrentDirectory(): string, + getCanonicalFileName(fileName: string): string, + useCaseSensitiveFileNames(): boolean, + getNewLine(): string, + readDirectory?: ( + rootDir: string, + extensions: $ReadOnlyArray, + excludes: $ReadOnlyArray | void, + includes: $ReadOnlyArray, + depth?: number + ) => string[], + resolveModuleNames?: ( + moduleNames: string[], + containingFile: string, + reusedNames?: string[], + redirectedReference?: ResolvedProjectReference + ) => (ResolvedModule | void)[], + resolveTypeReferenceDirectives?: ( + typeReferenceDirectiveNames: string[], + containingFile: string, + redirectedReference?: ResolvedProjectReference + ) => (ResolvedTypeReferenceDirective | void)[], + getEnvironmentVariable?: (name: string) => string | void, + createHash?: (data: string) => string + }; + + declare type SourceMapRange = { + ...$Exact, + + source?: SourceMapSource + }; + + declare type SourceMapSource = { + fileName: string, + text: string, + skipTrivia?: (pos: number) => number, + getLineAndCharacterOfPosition(pos: number): LineAndCharacter + }; + + declare var EmitFlags: { + +None: 0, // 0 + +SingleLine: 1, // 1 + +AdviseOnEmitNode: 2, // 2 + +NoSubstitution: 4, // 4 + +CapturesThis: 8, // 8 + +NoLeadingSourceMap: 16, // 16 + +NoTrailingSourceMap: 32, // 32 + +NoSourceMap: 48, // 48 + +NoNestedSourceMaps: 64, // 64 + +NoTokenLeadingSourceMaps: 128, // 128 + +NoTokenTrailingSourceMaps: 256, // 256 + +NoTokenSourceMaps: 384, // 384 + +NoLeadingComments: 512, // 512 + +NoTrailingComments: 1024, // 1024 + +NoComments: 1536, // 1536 + +NoNestedComments: 2048, // 2048 + +HelperName: 4096, // 4096 + +ExportName: 8192, // 8192 + +LocalName: 16384, // 16384 + +InternalName: 32768, // 32768 + +Indented: 65536, // 65536 + +NoIndentation: 131072, // 131072 + +AsyncFunctionBody: 262144, // 262144 + +ReuseTempVariableScope: 524288, // 524288 + +CustomPrologue: 1048576, // 1048576 + +NoHoisting: 2097152, // 2097152 + +HasEndOfDeclarationMarker: 4194304, // 4194304 + +Iterator: 8388608, // 8388608 + +NoAsciiEscaping: 16777216 // 16777216 + }; + + declare type EmitHelper = { + +name: string, + +scoped: boolean, + +text: string | ((node: EmitHelperUniqueNameCallback) => string), + +priority?: number + }; + + declare type EmitHelperUniqueNameCallback = (name: string) => string; + + declare var EmitHint: { + +SourceFile: 0, // 0 + +Expression: 1, // 1 + +IdentifierName: 2, // 2 + +MappedTypeParameter: 3, // 3 + +Unspecified: 4, // 4 + +EmbeddedStatement: 5 // 5 + }; + + declare type TransformationContext = { + getCompilerOptions(): CompilerOptions, + startLexicalEnvironment(): void, + suspendLexicalEnvironment(): void, + resumeLexicalEnvironment(): void, + endLexicalEnvironment(): Statement[] | void, + hoistFunctionDeclaration(node: FunctionDeclaration): void, + hoistVariableDeclaration(node: Identifier): void, + requestEmitHelper(helper: EmitHelper): void, + readEmitHelpers(): EmitHelper[] | void, + enableSubstitution(kind: $Values): void, + isSubstitutionEnabled(node: Node): boolean, + onSubstituteNode: (hint: $Values, node: Node) => Node, + enableEmitNotification(kind: $Values): void, + isEmitNotificationEnabled(node: Node): boolean, + onEmitNode: ( + hint: $Values, + node: Node, + emitCallback: (hint: $Values, node: Node) => void + ) => void + }; + + declare type TransformationResult = { + transformed: T[], + diagnostics?: DiagnosticWithLocation[], + substituteNode(hint: $Values, node: Node): Node, + emitNodeWithNotification( + hint: $Values, + node: Node, + emitCallback: (hint: $Values, node: Node) => void + ): void, + dispose(): void + }; + + declare type TransformerFactory = ( + context: TransformationContext + ) => Transformer; + declare type Transformer = (node: T) => T; + declare type Visitor = (node: Node) => VisitResult; + declare type VisitResult = T | T[] | void; + declare type Printer = { + printNode( + hint: $Values, + node: Node, + sourceFile: SourceFile + ): string, + printList( + format: $Values, + list: NodeArray, + sourceFile: SourceFile + ): string, + printFile(sourceFile: SourceFile): string, + printBundle(bundle: Bundle): string + }; + + declare type PrintHandlers = { + hasGlobalName?: (name: string) => boolean, + onEmitNode?: ( + hint: $Values, + node: Node | void, + emitCallback: (hint: $Values, node: Node | void) => void + ) => void, + substituteNode?: (hint: $Values, node: Node) => Node + }; + + declare type PrinterOptions = { + removeComments?: boolean, + newLine?: $Values, + omitTrailingSemicolon?: boolean, + noEmitHelpers?: boolean + }; + + declare type GetEffectiveTypeRootsHost = { + directoryExists?: (directoryName: string) => boolean, + getCurrentDirectory?: () => string + }; + + declare type TextSpan = { + start: number, + length: number + }; + + declare type TextChangeRange = { + span: TextSpan, + newLength: number + }; + + declare type SyntaxList = { + ...$Exact, + + _children: Node[] + }; + + declare var ListFormat: { + +None: 0, // 0 + +SingleLine: 0, // 0 + +MultiLine: 1, // 1 + +PreserveLines: 2, // 2 + +LinesMask: 3, // 3 + +NotDelimited: 0, // 0 + +BarDelimited: 4, // 4 + +AmpersandDelimited: 8, // 8 + +CommaDelimited: 16, // 16 + +AsteriskDelimited: 32, // 32 + +DelimitersMask: 60, // 60 + +AllowTrailingComma: 64, // 64 + +Indented: 128, // 128 + +SpaceBetweenBraces: 256, // 256 + +SpaceBetweenSiblings: 512, // 512 + +Braces: 1024, // 1024 + +Parenthesis: 2048, // 2048 + +AngleBrackets: 4096, // 4096 + +SquareBrackets: 8192, // 8192 + +BracketsMask: 15360, // 15360 + +OptionalIfUndefined: 16384, // 16384 + +OptionalIfEmpty: 32768, // 32768 + +Optional: 49152, // 49152 + +PreferNewLine: 65536, // 65536 + +NoTrailingNewLine: 131072, // 131072 + +NoInterveningComments: 262144, // 262144 + +NoSpaceIfEmpty: 524288, // 524288 + +SingleElement: 1048576, // 1048576 + +Modifiers: 262656, // 262656 + +HeritageClauses: 512, // 512 + +SingleLineTypeLiteralMembers: 768, // 768 + +MultiLineTypeLiteralMembers: 32897, // 32897 + +TupleTypeElements: 528, // 528 + +UnionTypeConstituents: 516, // 516 + +IntersectionTypeConstituents: 520, // 520 + +ObjectBindingPatternElements: 525136, // 525136 + +ArrayBindingPatternElements: 524880, // 524880 + +ObjectLiteralExpressionProperties: 526226, // 526226 + +ArrayLiteralExpressionElements: 8914, // 8914 + +CommaListElements: 528, // 528 + +CallExpressionArguments: 2576, // 2576 + +NewExpressionArguments: 18960, // 18960 + +TemplateExpressionSpans: 262144, // 262144 + +SingleLineBlockStatements: 768, // 768 + +MultiLineBlockStatements: 129, // 129 + +VariableDeclarationList: 528, // 528 + +SingleLineFunctionBodyStatements: 768, // 768 + +MultiLineFunctionBodyStatements: 1, // 1 + +ClassHeritageClauses: 0, // 0 + +ClassMembers: 129, // 129 + +InterfaceMembers: 129, // 129 + +EnumMembers: 145, // 145 + +CaseBlockClauses: 129, // 129 + +NamedImportsOrExportsElements: 525136, // 525136 + +JsxElementOrFragmentChildren: 262144, // 262144 + +JsxElementAttributes: 262656, // 262656 + +CaseOrDefaultClauseStatements: 163969, // 163969 + +HeritageClauseTypes: 528, // 528 + +SourceFileStatements: 131073, // 131073 + +Decorators: 49153, // 49153 + +TypeArguments: 53776, // 53776 + +TypeParameters: 53776, // 53776 + +Parameters: 2576, // 2576 + +IndexSignatureParameters: 8848, // 8848 + +JSDocComment: 33 // 33 + }; + + declare type UserPreferences = { + +disableSuggestions?: boolean, + +quotePreference?: "auto" | "double" | "single", + +includeCompletionsForModuleExports?: boolean, + +includeCompletionsWithInsertText?: boolean, + +importModuleSpecifierPreference?: "relative" | "non-relative", + +importModuleSpecifierEnding?: "minimal" | "index" | "js", + +allowTextChangesInNewFiles?: boolean, + +providePrefixAndSuffixTextForRename?: boolean + }; + + declare type PseudoBigInt = { + negative: boolean, + base10Value: string + }; + + declare var FileWatcherEventKind: { + +Created: 0, // 0 + +Changed: 1, // 1 + +Deleted: 2 // 2 + }; + + declare type FileWatcherCallback = ( + fileName: string, + eventKind: $Values + ) => void; + declare type DirectoryWatcherCallback = (fileName: string) => void; + declare type System = { + args: string[], + newLine: string, + useCaseSensitiveFileNames: boolean, + write(s: string): void, + writeOutputIsTTY?: () => boolean, + readFile(path: string, encoding?: string): string | void, + getFileSize?: (path: string) => number, + writeFile(path: string, data: string, writeByteOrderMark?: boolean): void, + watchFile?: ( + path: string, + callback: FileWatcherCallback, + pollingInterval?: number + ) => FileWatcher, + watchDirectory?: ( + path: string, + callback: DirectoryWatcherCallback, + recursive?: boolean + ) => FileWatcher, + resolvePath(path: string): string, + fileExists(path: string): boolean, + directoryExists(path: string): boolean, + createDirectory(path: string): void, + getExecutingFilePath(): string, + getCurrentDirectory(): string, + getDirectories(path: string): string[], + readDirectory( + path: string, + extensions?: $ReadOnlyArray, + exclude?: $ReadOnlyArray, + include?: $ReadOnlyArray, + depth?: number + ): string[], + getModifiedTime?: (path: string) => Date | void, + setModifiedTime?: (path: string, time: Date) => void, + deleteFile?: (path: string) => void, + createHash?: (data: string) => string, + createSHA256Hash?: (data: string) => string, + getMemoryUsage?: () => number, + exit(exitCode?: number): void, + realpath?: (path: string) => string, + setTimeout?: ( + callback: (...args: any[]) => void, + ms: number, + ...args: any[] + ) => any, + clearTimeout?: (timeoutId: any) => void, + clearScreen?: () => void, + base64decode?: (input: string) => string, + base64encode?: (input: string) => string + }; + + declare type FileWatcher = { + close(): void + }; + + declare function getNodeMajorVersion(): number | void; + + declare var sys: System; + declare type ErrorCallback = ( + message: DiagnosticMessage, + length: number + ) => void; + declare type Scanner = { + getStartPos(): number, + getToken(): $Values, + getTextPos(): number, + getTokenPos(): number, + getTokenText(): string, + getTokenValue(): string, + hasExtendedUnicodeEscape(): boolean, + hasPrecedingLineBreak(): boolean, + isIdentifier(): boolean, + isReservedWord(): boolean, + isUnterminated(): boolean, + reScanGreaterToken(): $Values, + reScanSlashToken(): $Values, + reScanTemplateToken(): $Values, + scanJsxIdentifier(): $Values, + scanJsxAttributeValue(): $Values, + reScanJsxToken(): JsxTokenSyntaxKind, + reScanLessThanToken(): $Values, + scanJsxToken(): JsxTokenSyntaxKind, + scanJSDocToken(): JsDocSyntaxKind, + scan(): $Values, + getText(): string, + setText(text: string | void, start?: number, length?: number): void, + setOnError(onError: ErrorCallback | void): void, + setScriptTarget(scriptTarget: $Values): void, + setLanguageVariant(variant: $Values): void, + setTextPos(textPos: number): void, + lookAhead(callback: () => T): T, + scanRange(start: number, length: number, callback: () => T): T, + tryScan(callback: () => T): T + }; + + declare function tokenToString(t: $Values): string | void; + + declare function getPositionOfLineAndCharacter( + sourceFile: SourceFileLike, + line: number, + character: number + ): number; + + declare function getLineAndCharacterOfPosition( + sourceFile: SourceFileLike, + position: number + ): LineAndCharacter; + + declare function isWhiteSpaceLike(ch: number): boolean; + + declare function isWhiteSpaceSingleLine(ch: number): boolean; + + declare function isLineBreak(ch: number): boolean; + + declare function couldStartTrivia(text: string, pos: number): boolean; + + declare function forEachLeadingCommentRange( + text: string, + pos: number, + cb: ( + pos: number, + end: number, + kind: CommentKind, + hasTrailingNewLine: boolean + ) => U + ): U | void; + + declare function forEachLeadingCommentRange( + text: string, + pos: number, + cb: ( + pos: number, + end: number, + kind: CommentKind, + hasTrailingNewLine: boolean, + state: T + ) => U, + state: T + ): U | void; + + declare function forEachTrailingCommentRange( + text: string, + pos: number, + cb: ( + pos: number, + end: number, + kind: CommentKind, + hasTrailingNewLine: boolean + ) => U + ): U | void; + + declare function forEachTrailingCommentRange( + text: string, + pos: number, + cb: ( + pos: number, + end: number, + kind: CommentKind, + hasTrailingNewLine: boolean, + state: T + ) => U, + state: T + ): U | void; + + declare function reduceEachLeadingCommentRange( + text: string, + pos: number, + cb: ( + pos: number, + end: number, + kind: CommentKind, + hasTrailingNewLine: boolean, + state: T, + memo: U + ) => U, + state: T, + initial: U + ): U | void; + + declare function reduceEachTrailingCommentRange( + text: string, + pos: number, + cb: ( + pos: number, + end: number, + kind: CommentKind, + hasTrailingNewLine: boolean, + state: T, + memo: U + ) => U, + state: T, + initial: U + ): U | void; + + declare function getLeadingCommentRanges( + text: string, + pos: number + ): CommentRange[] | void; + + declare function getTrailingCommentRanges( + text: string, + pos: number + ): CommentRange[] | void; + + declare function getShebang(text: string): string | void; + + declare function isIdentifierStart( + ch: number, + languageVersion: $Values | void + ): boolean; + + declare function isIdentifierPart( + ch: number, + languageVersion: $Values | void + ): boolean; + + declare function createScanner( + languageVersion: $Values, + skipTrivia: boolean, + languageVariant?: $Values, + textInitial?: string, + onError?: ErrorCallback, + start?: number, + length?: number + ): Scanner; + + declare function isExternalModuleNameRelative(moduleName: string): boolean; + + declare function sortAndDeduplicateDiagnostics( + diagnostics: $ReadOnlyArray + ): SortedReadonlyArray; + + declare function getDefaultLibFileName(options: CompilerOptions): string; + + declare function textSpanEnd(span: TextSpan): number; + + declare function textSpanIsEmpty(span: TextSpan): boolean; + + declare function textSpanContainsPosition( + span: TextSpan, + position: number + ): boolean; + + declare function textSpanContainsTextSpan( + span: TextSpan, + other: TextSpan + ): boolean; + + declare function textSpanOverlapsWith( + span: TextSpan, + other: TextSpan + ): boolean; + + declare function textSpanOverlap( + span1: TextSpan, + span2: TextSpan + ): TextSpan | void; + + declare function textSpanIntersectsWithTextSpan( + span: TextSpan, + other: TextSpan + ): boolean; + + declare function textSpanIntersectsWith( + span: TextSpan, + start: number, + length: number + ): boolean; + + declare function decodedTextSpanIntersectsWith( + start1: number, + length1: number, + start2: number, + length2: number + ): boolean; + + declare function textSpanIntersectsWithPosition( + span: TextSpan, + position: number + ): boolean; + + declare function textSpanIntersection( + span1: TextSpan, + span2: TextSpan + ): TextSpan | void; + + declare function createTextSpan(start: number, length: number): TextSpan; + + declare function createTextSpanFromBounds( + start: number, + end: number + ): TextSpan; + + declare function textChangeRangeNewSpan(range: TextChangeRange): TextSpan; + + declare function textChangeRangeIsUnchanged(range: TextChangeRange): boolean; + + declare function createTextChangeRange( + span: TextSpan, + newLength: number + ): TextChangeRange; + + declare var unchangedTextChangeRange: TextChangeRange; + declare function collapseTextChangeRangesAcrossMultipleVersions( + changes: $ReadOnlyArray + ): TextChangeRange; + + declare function getTypeParameterOwner(d: Declaration): Declaration | void; + + declare type ParameterPropertyDeclaration = ParameterDeclaration & { + parent: ConstructorDeclaration, + name: Identifier + }; + declare function isParameterPropertyDeclaration(node: Node): boolean; + + declare function isEmptyBindingPattern(node: BindingName): boolean; + + declare function isEmptyBindingElement(node: BindingElement): boolean; + + declare function walkUpBindingElementsAndPatterns( + binding: BindingElement + ): VariableDeclaration | ParameterDeclaration; + + declare function getCombinedModifierFlags( + node: Declaration + ): $Values; + + declare function getCombinedNodeFlags(node: Node): $Values; + + declare function validateLocaleAndSetLanguage( + locale: string, + sys: { + getExecutingFilePath(): string, + resolvePath(path: string): string, + fileExists(fileName: string): boolean, + readFile(fileName: string): string | void + }, + errors?: Push + ): void; + + declare function getOriginalNode(node: Node): Node; + + declare function getOriginalNode( + node: Node, + nodeTest: (node: Node) => boolean + ): T; + + declare function getOriginalNode(node: Node | void): Node | void; + + declare function getOriginalNode( + node: Node | void, + nodeTest: (node: Node | void) => boolean + ): T | void; + + declare function isParseTreeNode(node: Node): boolean; + + declare function getParseTreeNode(node: Node): Node; + + declare function getParseTreeNode( + node: Node | void, + nodeTest?: (node: Node) => boolean + ): T | void; + + declare function escapeLeadingUnderscores(identifier: string): __String; + + declare function unescapeLeadingUnderscores(identifier: __String): string; + + declare function idText(identifier: Identifier): string; + + declare function symbolName(symbol: Symbol): string; + + declare function getNameOfJSDocTypedef( + declaration: JSDocTypedefTag + ): Identifier | void; + + declare function getNameOfDeclaration( + declaration: Declaration | Expression + ): DeclarationName | void; + + declare function getJSDocParameterTags( + param: ParameterDeclaration + ): $ReadOnlyArray; + + declare function getJSDocTypeParameterTags( + param: TypeParameterDeclaration + ): $ReadOnlyArray; + + declare function hasJSDocParameterTags( + node: FunctionLikeDeclaration | SignatureDeclaration + ): boolean; + + declare function getJSDocAugmentsTag(node: Node): JSDocAugmentsTag | void; + + declare function getJSDocClassTag(node: Node): JSDocClassTag | void; + + declare function getJSDocEnumTag(node: Node): JSDocEnumTag | void; + + declare function getJSDocThisTag(node: Node): JSDocThisTag | void; + + declare function getJSDocReturnTag(node: Node): JSDocReturnTag | void; + + declare function getJSDocTemplateTag(node: Node): JSDocTemplateTag | void; + + declare function getJSDocTypeTag(node: Node): JSDocTypeTag | void; + + declare function getJSDocType(node: Node): TypeNode | void; + + declare function getJSDocReturnType(node: Node): TypeNode | void; + + declare function getJSDocTags(node: Node): $ReadOnlyArray; + + declare function getAllJSDocTagsOfKind( + node: Node, + kind: $Values + ): $ReadOnlyArray; + + declare function getEffectiveTypeParameterDeclarations( + node: DeclarationWithTypeParameters + ): $ReadOnlyArray; + + declare function getEffectiveConstraintOfTypeParameter( + node: TypeParameterDeclaration + ): TypeNode | void; + + declare function isNumericLiteral(node: Node): boolean; + + declare function isBigIntLiteral(node: Node): boolean; + + declare function isStringLiteral(node: Node): boolean; + + declare function isJsxText(node: Node): boolean; + + declare function isRegularExpressionLiteral(node: Node): boolean; + + declare function isNoSubstitutionTemplateLiteral(node: Node): boolean; + + declare function isTemplateHead(node: Node): boolean; + + declare function isTemplateMiddle(node: Node): boolean; + + declare function isTemplateTail(node: Node): boolean; + + declare function isIdentifier(node: Node): boolean; + + declare function isQualifiedName(node: Node): boolean; + + declare function isComputedPropertyName(node: Node): boolean; + + declare function isTypeParameterDeclaration(node: Node): boolean; + + declare function isParameter(node: Node): boolean; + + declare function isDecorator(node: Node): boolean; + + declare function isPropertySignature(node: Node): boolean; + + declare function isPropertyDeclaration(node: Node): boolean; + + declare function isMethodSignature(node: Node): boolean; + + declare function isMethodDeclaration(node: Node): boolean; + + declare function isConstructorDeclaration(node: Node): boolean; + + declare function isGetAccessorDeclaration(node: Node): boolean; + + declare function isSetAccessorDeclaration(node: Node): boolean; + + declare function isCallSignatureDeclaration(node: Node): boolean; + + declare function isConstructSignatureDeclaration(node: Node): boolean; + + declare function isIndexSignatureDeclaration(node: Node): boolean; + + declare function isTypePredicateNode(node: Node): boolean; + + declare function isTypeReferenceNode(node: Node): boolean; + + declare function isFunctionTypeNode(node: Node): boolean; + + declare function isConstructorTypeNode(node: Node): boolean; + + declare function isTypeQueryNode(node: Node): boolean; + + declare function isTypeLiteralNode(node: Node): boolean; + + declare function isArrayTypeNode(node: Node): boolean; + + declare function isTupleTypeNode(node: Node): boolean; + + declare function isUnionTypeNode(node: Node): boolean; + + declare function isIntersectionTypeNode(node: Node): boolean; + + declare function isConditionalTypeNode(node: Node): boolean; + + declare function isInferTypeNode(node: Node): boolean; + + declare function isParenthesizedTypeNode(node: Node): boolean; + + declare function isThisTypeNode(node: Node): boolean; + + declare function isTypeOperatorNode(node: Node): boolean; + + declare function isIndexedAccessTypeNode(node: Node): boolean; + + declare function isMappedTypeNode(node: Node): boolean; + + declare function isLiteralTypeNode(node: Node): boolean; + + declare function isImportTypeNode(node: Node): boolean; + + declare function isObjectBindingPattern(node: Node): boolean; + + declare function isArrayBindingPattern(node: Node): boolean; + + declare function isBindingElement(node: Node): boolean; + + declare function isArrayLiteralExpression(node: Node): boolean; + + declare function isObjectLiteralExpression(node: Node): boolean; + + declare function isPropertyAccessExpression(node: Node): boolean; + + declare function isElementAccessExpression(node: Node): boolean; + + declare function isCallExpression(node: Node): boolean; + + declare function isNewExpression(node: Node): boolean; + + declare function isTaggedTemplateExpression(node: Node): boolean; + + declare function isTypeAssertion(node: Node): boolean; + + declare function isParenthesizedExpression(node: Node): boolean; + + declare function skipPartiallyEmittedExpressions( + node: Expression + ): Expression; + + declare function skipPartiallyEmittedExpressions(node: Node): Node; + + declare function isFunctionExpression(node: Node): boolean; + + declare function isArrowFunction(node: Node): boolean; + + declare function isDeleteExpression(node: Node): boolean; + + declare function isTypeOfExpression(node: Node): boolean; + + declare function isVoidExpression(node: Node): boolean; + + declare function isAwaitExpression(node: Node): boolean; + + declare function isPrefixUnaryExpression(node: Node): boolean; + + declare function isPostfixUnaryExpression(node: Node): boolean; + + declare function isBinaryExpression(node: Node): boolean; + + declare function isConditionalExpression(node: Node): boolean; + + declare function isTemplateExpression(node: Node): boolean; + + declare function isYieldExpression(node: Node): boolean; + + declare function isSpreadElement(node: Node): boolean; + + declare function isClassExpression(node: Node): boolean; + + declare function isOmittedExpression(node: Node): boolean; + + declare function isExpressionWithTypeArguments(node: Node): boolean; + + declare function isAsExpression(node: Node): boolean; + + declare function isNonNullExpression(node: Node): boolean; + + declare function isMetaProperty(node: Node): boolean; + + declare function isTemplateSpan(node: Node): boolean; + + declare function isSemicolonClassElement(node: Node): boolean; + + declare function isBlock(node: Node): boolean; + + declare function isVariableStatement(node: Node): boolean; + + declare function isEmptyStatement(node: Node): boolean; + + declare function isExpressionStatement(node: Node): boolean; + + declare function isIfStatement(node: Node): boolean; + + declare function isDoStatement(node: Node): boolean; + + declare function isWhileStatement(node: Node): boolean; + + declare function isForStatement(node: Node): boolean; + + declare function isForInStatement(node: Node): boolean; + + declare function isForOfStatement(node: Node): boolean; + + declare function isContinueStatement(node: Node): boolean; + + declare function isBreakStatement(node: Node): boolean; + + declare function isBreakOrContinueStatement(node: Node): boolean; + + declare function isReturnStatement(node: Node): boolean; + + declare function isWithStatement(node: Node): boolean; + + declare function isSwitchStatement(node: Node): boolean; + + declare function isLabeledStatement(node: Node): boolean; + + declare function isThrowStatement(node: Node): boolean; + + declare function isTryStatement(node: Node): boolean; + + declare function isDebuggerStatement(node: Node): boolean; + + declare function isVariableDeclaration(node: Node): boolean; + + declare function isVariableDeclarationList(node: Node): boolean; + + declare function isFunctionDeclaration(node: Node): boolean; + + declare function isClassDeclaration(node: Node): boolean; + + declare function isInterfaceDeclaration(node: Node): boolean; + + declare function isTypeAliasDeclaration(node: Node): boolean; + + declare function isEnumDeclaration(node: Node): boolean; + + declare function isModuleDeclaration(node: Node): boolean; + + declare function isModuleBlock(node: Node): boolean; + + declare function isCaseBlock(node: Node): boolean; + + declare function isNamespaceExportDeclaration(node: Node): boolean; + + declare function isImportEqualsDeclaration(node: Node): boolean; + + declare function isImportDeclaration(node: Node): boolean; + + declare function isImportClause(node: Node): boolean; + + declare function isNamespaceImport(node: Node): boolean; + + declare function isNamedImports(node: Node): boolean; + + declare function isImportSpecifier(node: Node): boolean; + + declare function isExportAssignment(node: Node): boolean; + + declare function isExportDeclaration(node: Node): boolean; + + declare function isNamedExports(node: Node): boolean; + + declare function isExportSpecifier(node: Node): boolean; + + declare function isMissingDeclaration(node: Node): boolean; + + declare function isExternalModuleReference(node: Node): boolean; + + declare function isJsxElement(node: Node): boolean; + + declare function isJsxSelfClosingElement(node: Node): boolean; + + declare function isJsxOpeningElement(node: Node): boolean; + + declare function isJsxClosingElement(node: Node): boolean; + + declare function isJsxFragment(node: Node): boolean; + + declare function isJsxOpeningFragment(node: Node): boolean; + + declare function isJsxClosingFragment(node: Node): boolean; + + declare function isJsxAttribute(node: Node): boolean; + + declare function isJsxAttributes(node: Node): boolean; + + declare function isJsxSpreadAttribute(node: Node): boolean; + + declare function isJsxExpression(node: Node): boolean; + + declare function isCaseClause(node: Node): boolean; + + declare function isDefaultClause(node: Node): boolean; + + declare function isHeritageClause(node: Node): boolean; + + declare function isCatchClause(node: Node): boolean; + + declare function isPropertyAssignment(node: Node): boolean; + + declare function isShorthandPropertyAssignment(node: Node): boolean; + + declare function isSpreadAssignment(node: Node): boolean; + + declare function isEnumMember(node: Node): boolean; + + declare function isSourceFile(node: Node): boolean; + + declare function isBundle(node: Node): boolean; + + declare function isUnparsedSource(node: Node): boolean; + + declare function isJSDocTypeExpression(node: Node): boolean; + + declare function isJSDocAllType(node: JSDocAllType): boolean; + + declare function isJSDocUnknownType(node: Node): boolean; + + declare function isJSDocNullableType(node: Node): boolean; + + declare function isJSDocNonNullableType(node: Node): boolean; + + declare function isJSDocOptionalType(node: Node): boolean; + + declare function isJSDocFunctionType(node: Node): boolean; + + declare function isJSDocVariadicType(node: Node): boolean; + + declare function isJSDoc(node: Node): boolean; + + declare function isJSDocAugmentsTag(node: Node): boolean; + + declare function isJSDocClassTag(node: Node): boolean; + + declare function isJSDocEnumTag(node: Node): boolean; + + declare function isJSDocThisTag(node: Node): boolean; + + declare function isJSDocParameterTag(node: Node): boolean; + + declare function isJSDocReturnTag(node: Node): boolean; + + declare function isJSDocTypeTag(node: Node): boolean; + + declare function isJSDocTemplateTag(node: Node): boolean; + + declare function isJSDocTypedefTag(node: Node): boolean; + + declare function isJSDocPropertyTag(node: Node): boolean; + + declare function isJSDocPropertyLikeTag(node: Node): boolean; + + declare function isJSDocTypeLiteral(node: Node): boolean; + + declare function isJSDocCallbackTag(node: Node): boolean; + + declare function isJSDocSignature(node: Node): boolean; + + declare function isToken(n: Node): boolean; + + declare function isLiteralExpression(node: Node): boolean; + + declare type TemplateLiteralToken = + | NoSubstitutionTemplateLiteral + | TemplateHead + | TemplateMiddle + | TemplateTail; + declare function isTemplateLiteralToken(node: Node): boolean; + + declare function isTemplateMiddleOrTemplateTail(node: Node): boolean; + + declare function isImportOrExportSpecifier(node: Node): boolean; + + declare function isStringTextContainingNode(node: Node): boolean; + + declare function isModifier(node: Node): boolean; + + declare function isEntityName(node: Node): boolean; + + declare function isPropertyName(node: Node): boolean; + + declare function isBindingName(node: Node): boolean; + + declare function isFunctionLike(node: Node): boolean; + + declare function isClassElement(node: Node): boolean; + + declare function isClassLike(node: Node): boolean; + + declare function isAccessor(node: Node): boolean; + + declare function isTypeElement(node: Node): boolean; + + declare function isClassOrTypeElement(node: Node): boolean; + + declare function isObjectLiteralElementLike(node: Node): boolean; + + declare function isTypeNode(node: Node): boolean; + + declare function isFunctionOrConstructorTypeNode(node: Node): boolean; + + declare function isPropertyAccessOrQualifiedName(node: Node): boolean; + + declare function isCallLikeExpression(node: Node): boolean; + + declare function isCallOrNewExpression(node: Node): boolean; + + declare function isTemplateLiteral(node: Node): boolean; + + declare function isAssertionExpression(node: Node): boolean; + + declare function isIterationStatement( + node: Node, + lookInLabeledStatements: false + ): boolean; + + declare function isIterationStatement( + node: Node, + lookInLabeledStatements: boolean + ): boolean; + + declare function isJsxOpeningLikeElement(node: Node): boolean; + + declare function isCaseOrDefaultClause(node: Node): boolean; + + declare function isJSDocCommentContainingNode(node: Node): boolean; + + declare function isSetAccessor(node: Node): boolean; + + declare function isGetAccessor(node: Node): boolean; + + declare function isObjectLiteralElement(node: Node): boolean; + + declare function isStringLiteralLike(node: Node): boolean; + + declare function createNode( + kind: $Values, + pos?: number, + end?: number + ): Node; + + declare function forEachChild( + node: Node, + cbNode: (node: Node) => T | void, + cbNodes?: (nodes: NodeArray) => T | void + ): T | void; + + declare function createSourceFile( + fileName: string, + sourceText: string, + languageVersion: $Values, + setParentNodes?: boolean, + scriptKind?: $Values + ): SourceFile; + + declare function parseIsolatedEntityName( + text: string, + languageVersion: $Values + ): EntityName | void; + + declare function parseJsonText( + fileName: string, + sourceText: string + ): JsonSourceFile; + + declare function isExternalModule(file: SourceFile): boolean; + + declare function updateSourceFile( + sourceFile: SourceFile, + newText: string, + textChangeRange: TextChangeRange, + aggressiveChecks?: boolean + ): SourceFile; + + declare function parseCommandLine( + commandLine: $ReadOnlyArray, + readFile?: (path: string) => string | void + ): ParsedCommandLine; + + declare type DiagnosticReporter = (diagnostic: Diagnostic) => void; + declare type ConfigFileDiagnosticsReporter = { + onUnRecoverableConfigFileDiagnostic: DiagnosticReporter + }; + + declare type ParseConfigFileHost = { + ...$Exact, + ...$Exact, + + getCurrentDirectory(): string + }; + + declare function getParsedCommandLineOfConfigFile( + configFileName: string, + optionsToExtend: CompilerOptions, + host: ParseConfigFileHost + ): ParsedCommandLine | void; + + declare function readConfigFile( + fileName: string, + readFile: (path: string) => string | void + ): { + config?: any, + error?: Diagnostic + }; + + declare function parseConfigFileTextToJson( + fileName: string, + jsonText: string + ): { + config?: any, + error?: Diagnostic + }; + + declare function readJsonConfigFile( + fileName: string, + readFile: (path: string) => string | void + ): TsConfigSourceFile; + + declare function convertToObject( + sourceFile: JsonSourceFile, + errors: Push + ): any; + + declare function parseJsonConfigFileContent( + json: any, + host: ParseConfigHost, + basePath: string, + existingOptions?: CompilerOptions, + configFileName?: string, + resolutionStack?: Path[], + extraFileExtensions?: $ReadOnlyArray + ): ParsedCommandLine; + + declare function parseJsonSourceFileConfigFileContent( + sourceFile: TsConfigSourceFile, + host: ParseConfigHost, + basePath: string, + existingOptions?: CompilerOptions, + configFileName?: string, + resolutionStack?: Path[], + extraFileExtensions?: $ReadOnlyArray + ): ParsedCommandLine; + + declare function convertCompilerOptionsFromJson( + jsonOptions: any, + basePath: string, + configFileName?: string + ): { + options: CompilerOptions, + errors: Diagnostic[] + }; + + declare function convertTypeAcquisitionFromJson( + jsonOptions: any, + basePath: string, + configFileName?: string + ): { + options: TypeAcquisition, + errors: Diagnostic[] + }; + + declare function getEffectiveTypeRoots( + options: CompilerOptions, + host: GetEffectiveTypeRootsHost + ): string[] | void; + + declare function resolveTypeReferenceDirective( + typeReferenceDirectiveName: string, + containingFile: string | void, + options: CompilerOptions, + host: ModuleResolutionHost, + redirectedReference?: ResolvedProjectReference + ): ResolvedTypeReferenceDirectiveWithFailedLookupLocations; + + declare function getAutomaticTypeDirectiveNames( + options: CompilerOptions, + host: ModuleResolutionHost + ): string[]; + + declare type ModuleResolutionCache = { + ...$Exact, + + getOrCreateCacheForDirectory( + directoryName: string, + redirectedReference?: ResolvedProjectReference + ): Map + }; + + declare type NonRelativeModuleNameResolutionCache = { + getOrCreateCacheForModuleName( + nonRelativeModuleName: string, + redirectedReference?: ResolvedProjectReference + ): PerModuleNameCache + }; + + declare type PerModuleNameCache = { + get(directory: string): ResolvedModuleWithFailedLookupLocations | void, + set( + directory: string, + result: ResolvedModuleWithFailedLookupLocations + ): void + }; + + declare function createModuleResolutionCache( + currentDirectory: string, + getCanonicalFileName: (s: string) => string + ): ModuleResolutionCache; + + declare function resolveModuleNameFromCache( + moduleName: string, + containingFile: string, + cache: ModuleResolutionCache + ): ResolvedModuleWithFailedLookupLocations | void; + + declare function resolveModuleName( + moduleName: string, + containingFile: string, + compilerOptions: CompilerOptions, + host: ModuleResolutionHost, + cache?: ModuleResolutionCache, + redirectedReference?: ResolvedProjectReference + ): ResolvedModuleWithFailedLookupLocations; + + declare function nodeModuleNameResolver( + moduleName: string, + containingFile: string, + compilerOptions: CompilerOptions, + host: ModuleResolutionHost, + cache?: ModuleResolutionCache, + redirectedReference?: ResolvedProjectReference + ): ResolvedModuleWithFailedLookupLocations; + + declare function classicNameResolver( + moduleName: string, + containingFile: string, + compilerOptions: CompilerOptions, + host: ModuleResolutionHost, + cache?: NonRelativeModuleNameResolutionCache, + redirectedReference?: ResolvedProjectReference + ): ResolvedModuleWithFailedLookupLocations; + + declare function createNodeArray( + elements?: $ReadOnlyArray, + hasTrailingComma?: boolean + ): NodeArray; + + declare function createLiteral( + value: + | string + | StringLiteral + | NoSubstitutionTemplateLiteral + | NumericLiteral + | Identifier + ): StringLiteral; + + declare function createLiteral(value: number | PseudoBigInt): NumericLiteral; + + declare function createLiteral(value: boolean): BooleanLiteral; + + declare function createLiteral( + value: string | number | PseudoBigInt | boolean + ): PrimaryExpression; + + declare function createNumericLiteral(value: string): NumericLiteral; + + declare function createBigIntLiteral(value: string): BigIntLiteral; + + declare function createStringLiteral(text: string): StringLiteral; + + declare function createRegularExpressionLiteral( + text: string + ): RegularExpressionLiteral; + + declare function createIdentifier(text: string): Identifier; + + declare function updateIdentifier(node: Identifier): Identifier; + + declare function createTempVariable( + recordTempVariable: ((node: Identifier) => void) | void + ): Identifier; + + declare function createLoopVariable(): Identifier; + + declare function createUniqueName(text: string): Identifier; + + declare function createOptimisticUniqueName(text: string): Identifier; + + declare function createFileLevelUniqueName(text: string): Identifier; + + declare function getGeneratedNameForNode(node: Node | void): Identifier; + + declare function createToken>( + token: TKind + ): Token; + + declare function createSuper(): SuperExpression; + + declare function createThis(): ThisExpression & + Token; + + declare function createNull(): NullLiteral & + Token; + + declare function createTrue(): BooleanLiteral & + Token; + + declare function createFalse(): BooleanLiteral & + Token; + + declare function createModifier>( + kind: T + ): Token; + + declare function createModifiersFromModifierFlags( + flags: $Values + ): Modifier[]; + + declare function createQualifiedName( + left: EntityName, + right: string | Identifier + ): QualifiedName; + + declare function updateQualifiedName( + node: QualifiedName, + left: EntityName, + right: Identifier + ): QualifiedName; + + declare function createComputedPropertyName( + expression: Expression + ): ComputedPropertyName; + + declare function updateComputedPropertyName( + node: ComputedPropertyName, + expression: Expression + ): ComputedPropertyName; + + declare function createTypeParameterDeclaration( + name: string | Identifier, + constraint?: TypeNode, + defaultType?: TypeNode + ): TypeParameterDeclaration; + + declare function updateTypeParameterDeclaration( + node: TypeParameterDeclaration, + name: Identifier, + constraint: TypeNode | void, + defaultType: TypeNode | void + ): TypeParameterDeclaration; + + declare function createParameter( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + dotDotDotToken: DotDotDotToken | void, + name: string | BindingName, + questionToken?: QuestionToken, + type?: TypeNode, + initializer?: Expression + ): ParameterDeclaration; + + declare function updateParameter( + node: ParameterDeclaration, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + dotDotDotToken: DotDotDotToken | void, + name: string | BindingName, + questionToken: QuestionToken | void, + type: TypeNode | void, + initializer: Expression | void + ): ParameterDeclaration; + + declare function createDecorator(expression: Expression): Decorator; + + declare function updateDecorator( + node: Decorator, + expression: Expression + ): Decorator; + + declare function createPropertySignature( + modifiers: $ReadOnlyArray | void, + name: PropertyName | string, + questionToken: QuestionToken | void, + type: TypeNode | void, + initializer: Expression | void + ): PropertySignature; + + declare function updatePropertySignature( + node: PropertySignature, + modifiers: $ReadOnlyArray | void, + name: PropertyName, + questionToken: QuestionToken | void, + type: TypeNode | void, + initializer: Expression | void + ): PropertySignature; + + declare function createProperty( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: string | PropertyName, + questionOrExclamationToken: QuestionToken | ExclamationToken | void, + type: TypeNode | void, + initializer: Expression | void + ): PropertyDeclaration; + + declare function updateProperty( + node: PropertyDeclaration, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: string | PropertyName, + questionOrExclamationToken: QuestionToken | ExclamationToken | void, + type: TypeNode | void, + initializer: Expression | void + ): PropertyDeclaration; + + declare function createMethodSignature( + typeParameters: $ReadOnlyArray | void, + parameters: $ReadOnlyArray, + type: TypeNode | void, + name: string | PropertyName, + questionToken: QuestionToken | void + ): MethodSignature; + + declare function updateMethodSignature( + node: MethodSignature, + typeParameters: NodeArray | void, + parameters: NodeArray, + type: TypeNode | void, + name: PropertyName, + questionToken: QuestionToken | void + ): MethodSignature; + + declare function createMethod( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + asteriskToken: AsteriskToken | void, + name: string | PropertyName, + questionToken: QuestionToken | void, + typeParameters: $ReadOnlyArray | void, + parameters: $ReadOnlyArray, + type: TypeNode | void, + body: Block | void + ): MethodDeclaration; + + declare function updateMethod( + node: MethodDeclaration, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + asteriskToken: AsteriskToken | void, + name: PropertyName, + questionToken: QuestionToken | void, + typeParameters: $ReadOnlyArray | void, + parameters: $ReadOnlyArray, + type: TypeNode | void, + body: Block | void + ): MethodDeclaration; + + declare function createConstructor( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + parameters: $ReadOnlyArray, + body: Block | void + ): ConstructorDeclaration; + + declare function updateConstructor( + node: ConstructorDeclaration, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + parameters: $ReadOnlyArray, + body: Block | void + ): ConstructorDeclaration; + + declare function createGetAccessor( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: string | PropertyName, + parameters: $ReadOnlyArray, + type: TypeNode | void, + body: Block | void + ): GetAccessorDeclaration; + + declare function updateGetAccessor( + node: GetAccessorDeclaration, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: PropertyName, + parameters: $ReadOnlyArray, + type: TypeNode | void, + body: Block | void + ): GetAccessorDeclaration; + + declare function createSetAccessor( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: string | PropertyName, + parameters: $ReadOnlyArray, + body: Block | void + ): SetAccessorDeclaration; + + declare function updateSetAccessor( + node: SetAccessorDeclaration, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: PropertyName, + parameters: $ReadOnlyArray, + body: Block | void + ): SetAccessorDeclaration; + + declare function createCallSignature( + typeParameters: $ReadOnlyArray | void, + parameters: $ReadOnlyArray, + type: TypeNode | void + ): CallSignatureDeclaration; + + declare function updateCallSignature( + node: CallSignatureDeclaration, + typeParameters: NodeArray | void, + parameters: NodeArray, + type: TypeNode | void + ): CallSignatureDeclaration; + + declare function createConstructSignature( + typeParameters: $ReadOnlyArray | void, + parameters: $ReadOnlyArray, + type: TypeNode | void + ): ConstructSignatureDeclaration; + + declare function updateConstructSignature( + node: ConstructSignatureDeclaration, + typeParameters: NodeArray | void, + parameters: NodeArray, + type: TypeNode | void + ): ConstructSignatureDeclaration; + + declare function createIndexSignature( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + parameters: $ReadOnlyArray, + type: TypeNode + ): IndexSignatureDeclaration; + + declare function updateIndexSignature( + node: IndexSignatureDeclaration, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + parameters: $ReadOnlyArray, + type: TypeNode + ): IndexSignatureDeclaration; + + declare function createKeywordTypeNode( + kind: $ElementType + ): KeywordTypeNode; + + declare function createTypePredicateNode( + parameterName: Identifier | ThisTypeNode | string, + type: TypeNode + ): TypePredicateNode; + + declare function updateTypePredicateNode( + node: TypePredicateNode, + parameterName: Identifier | ThisTypeNode, + type: TypeNode + ): TypePredicateNode; + + declare function createTypeReferenceNode( + typeName: string | EntityName, + typeArguments: $ReadOnlyArray | void + ): TypeReferenceNode; + + declare function updateTypeReferenceNode( + node: TypeReferenceNode, + typeName: EntityName, + typeArguments: NodeArray | void + ): TypeReferenceNode; + + declare function createFunctionTypeNode( + typeParameters: $ReadOnlyArray | void, + parameters: $ReadOnlyArray, + type: TypeNode | void + ): FunctionTypeNode; + + declare function updateFunctionTypeNode( + node: FunctionTypeNode, + typeParameters: NodeArray | void, + parameters: NodeArray, + type: TypeNode | void + ): FunctionTypeNode; + + declare function createConstructorTypeNode( + typeParameters: $ReadOnlyArray | void, + parameters: $ReadOnlyArray, + type: TypeNode | void + ): ConstructorTypeNode; + + declare function updateConstructorTypeNode( + node: ConstructorTypeNode, + typeParameters: NodeArray | void, + parameters: NodeArray, + type: TypeNode | void + ): ConstructorTypeNode; + + declare function createTypeQueryNode(exprName: EntityName): TypeQueryNode; + + declare function updateTypeQueryNode( + node: TypeQueryNode, + exprName: EntityName + ): TypeQueryNode; + + declare function createTypeLiteralNode( + members: $ReadOnlyArray | void + ): TypeLiteralNode; + + declare function updateTypeLiteralNode( + node: TypeLiteralNode, + members: NodeArray + ): TypeLiteralNode; + + declare function createArrayTypeNode(elementType: TypeNode): ArrayTypeNode; + + declare function updateArrayTypeNode( + node: ArrayTypeNode, + elementType: TypeNode + ): ArrayTypeNode; + + declare function createTupleTypeNode( + elementTypes: $ReadOnlyArray + ): TupleTypeNode; + + declare function updateTupleTypeNode( + node: TupleTypeNode, + elementTypes: $ReadOnlyArray + ): TupleTypeNode; + + declare function createOptionalTypeNode(type: TypeNode): OptionalTypeNode; + + declare function updateOptionalTypeNode( + node: OptionalTypeNode, + type: TypeNode + ): OptionalTypeNode; + + declare function createRestTypeNode(type: TypeNode): RestTypeNode; + + declare function updateRestTypeNode( + node: RestTypeNode, + type: TypeNode + ): RestTypeNode; + + declare function createUnionTypeNode( + types: $ReadOnlyArray + ): UnionTypeNode; + + declare function updateUnionTypeNode( + node: UnionTypeNode, + types: NodeArray + ): UnionTypeNode; + + declare function createIntersectionTypeNode( + types: $ReadOnlyArray + ): IntersectionTypeNode; + + declare function updateIntersectionTypeNode( + node: IntersectionTypeNode, + types: NodeArray + ): IntersectionTypeNode; + + declare function createUnionOrIntersectionTypeNode( + kind: typeof SyntaxKind.UnionType | typeof SyntaxKind.IntersectionType, + types: $ReadOnlyArray + ): UnionOrIntersectionTypeNode; + + declare function createConditionalTypeNode( + checkType: TypeNode, + extendsType: TypeNode, + trueType: TypeNode, + falseType: TypeNode + ): ConditionalTypeNode; + + declare function updateConditionalTypeNode( + node: ConditionalTypeNode, + checkType: TypeNode, + extendsType: TypeNode, + trueType: TypeNode, + falseType: TypeNode + ): ConditionalTypeNode; + + declare function createInferTypeNode( + typeParameter: TypeParameterDeclaration + ): InferTypeNode; + + declare function updateInferTypeNode( + node: InferTypeNode, + typeParameter: TypeParameterDeclaration + ): InferTypeNode; + + declare function createImportTypeNode( + argument: TypeNode, + qualifier?: EntityName, + typeArguments?: $ReadOnlyArray, + isTypeOf?: boolean + ): ImportTypeNode; + + declare function updateImportTypeNode( + node: ImportTypeNode, + argument: TypeNode, + qualifier?: EntityName, + typeArguments?: $ReadOnlyArray, + isTypeOf?: boolean + ): ImportTypeNode; + + declare function createParenthesizedType( + type: TypeNode + ): ParenthesizedTypeNode; + + declare function updateParenthesizedType( + node: ParenthesizedTypeNode, + type: TypeNode + ): ParenthesizedTypeNode; + + declare function createThisTypeNode(): ThisTypeNode; + + declare function createTypeOperatorNode(type: TypeNode): TypeOperatorNode; + + declare function createTypeOperatorNode( + operator: typeof SyntaxKind.KeyOfKeyword | typeof SyntaxKind.UniqueKeyword, + type: TypeNode + ): TypeOperatorNode; + + declare function updateTypeOperatorNode( + node: TypeOperatorNode, + type: TypeNode + ): TypeOperatorNode; + + declare function createIndexedAccessTypeNode( + objectType: TypeNode, + indexType: TypeNode + ): IndexedAccessTypeNode; + + declare function updateIndexedAccessTypeNode( + node: IndexedAccessTypeNode, + objectType: TypeNode, + indexType: TypeNode + ): IndexedAccessTypeNode; + + declare function createMappedTypeNode( + readonlyToken: ReadonlyToken | PlusToken | MinusToken | void, + typeParameter: TypeParameterDeclaration, + questionToken: QuestionToken | PlusToken | MinusToken | void, + type: TypeNode | void + ): MappedTypeNode; + + declare function updateMappedTypeNode( + node: MappedTypeNode, + readonlyToken: ReadonlyToken | PlusToken | MinusToken | void, + typeParameter: TypeParameterDeclaration, + questionToken: QuestionToken | PlusToken | MinusToken | void, + type: TypeNode | void + ): MappedTypeNode; + + declare function createLiteralTypeNode( + literal: $ElementType + ): LiteralTypeNode; + + declare function updateLiteralTypeNode( + node: LiteralTypeNode, + literal: $ElementType + ): LiteralTypeNode; + + declare function createObjectBindingPattern( + elements: $ReadOnlyArray + ): ObjectBindingPattern; + + declare function updateObjectBindingPattern( + node: ObjectBindingPattern, + elements: $ReadOnlyArray + ): ObjectBindingPattern; + + declare function createArrayBindingPattern( + elements: $ReadOnlyArray + ): ArrayBindingPattern; + + declare function updateArrayBindingPattern( + node: ArrayBindingPattern, + elements: $ReadOnlyArray + ): ArrayBindingPattern; + + declare function createBindingElement( + dotDotDotToken: DotDotDotToken | void, + propertyName: string | PropertyName | void, + name: string | BindingName, + initializer?: Expression + ): BindingElement; + + declare function updateBindingElement( + node: BindingElement, + dotDotDotToken: DotDotDotToken | void, + propertyName: PropertyName | void, + name: BindingName, + initializer: Expression | void + ): BindingElement; + + declare function createArrayLiteral( + elements?: $ReadOnlyArray, + multiLine?: boolean + ): ArrayLiteralExpression; + + declare function updateArrayLiteral( + node: ArrayLiteralExpression, + elements: $ReadOnlyArray + ): ArrayLiteralExpression; + + declare function createObjectLiteral( + properties?: $ReadOnlyArray, + multiLine?: boolean + ): ObjectLiteralExpression; + + declare function updateObjectLiteral( + node: ObjectLiteralExpression, + properties: $ReadOnlyArray + ): ObjectLiteralExpression; + + declare function createPropertyAccess( + expression: Expression, + name: string | Identifier | void + ): PropertyAccessExpression; + + declare function updatePropertyAccess( + node: PropertyAccessExpression, + expression: Expression, + name: Identifier + ): PropertyAccessExpression; + + declare function createElementAccess( + expression: Expression, + index: number | Expression + ): ElementAccessExpression; + + declare function updateElementAccess( + node: ElementAccessExpression, + expression: Expression, + argumentExpression: Expression + ): ElementAccessExpression; + + declare function createCall( + expression: Expression, + typeArguments: $ReadOnlyArray | void, + argumentsArray: $ReadOnlyArray | void + ): CallExpression; + + declare function updateCall( + node: CallExpression, + expression: Expression, + typeArguments: $ReadOnlyArray | void, + argumentsArray: $ReadOnlyArray + ): CallExpression; + + declare function createNew( + expression: Expression, + typeArguments: $ReadOnlyArray | void, + argumentsArray: $ReadOnlyArray | void + ): NewExpression; + + declare function updateNew( + node: NewExpression, + expression: Expression, + typeArguments: $ReadOnlyArray | void, + argumentsArray: $ReadOnlyArray | void + ): NewExpression; + + declare function createTaggedTemplate( + tag: Expression, + template: TemplateLiteral + ): TaggedTemplateExpression; + + declare function createTaggedTemplate( + tag: Expression, + typeArguments: $ReadOnlyArray | void, + template: TemplateLiteral + ): TaggedTemplateExpression; + + declare function updateTaggedTemplate( + node: TaggedTemplateExpression, + tag: Expression, + template: TemplateLiteral + ): TaggedTemplateExpression; + + declare function updateTaggedTemplate( + node: TaggedTemplateExpression, + tag: Expression, + typeArguments: $ReadOnlyArray | void, + template: TemplateLiteral + ): TaggedTemplateExpression; + + declare function createTypeAssertion( + type: TypeNode, + expression: Expression + ): TypeAssertion; + + declare function updateTypeAssertion( + node: TypeAssertion, + type: TypeNode, + expression: Expression + ): TypeAssertion; + + declare function createParen(expression: Expression): ParenthesizedExpression; + + declare function updateParen( + node: ParenthesizedExpression, + expression: Expression + ): ParenthesizedExpression; + + declare function createFunctionExpression( + modifiers: $ReadOnlyArray | void, + asteriskToken: AsteriskToken | void, + name: string | Identifier | void, + typeParameters: $ReadOnlyArray | void, + parameters: $ReadOnlyArray | void, + type: TypeNode | void, + body: Block + ): FunctionExpression; + + declare function updateFunctionExpression( + node: FunctionExpression, + modifiers: $ReadOnlyArray | void, + asteriskToken: AsteriskToken | void, + name: Identifier | void, + typeParameters: $ReadOnlyArray | void, + parameters: $ReadOnlyArray, + type: TypeNode | void, + body: Block + ): FunctionExpression; + + declare function createArrowFunction( + modifiers: $ReadOnlyArray | void, + typeParameters: $ReadOnlyArray | void, + parameters: $ReadOnlyArray, + type: TypeNode | void, + equalsGreaterThanToken: EqualsGreaterThanToken | void, + body: ConciseBody + ): ArrowFunction; + + declare function updateArrowFunction( + node: ArrowFunction, + modifiers: $ReadOnlyArray | void, + typeParameters: $ReadOnlyArray | void, + parameters: $ReadOnlyArray, + type: TypeNode | void, + equalsGreaterThanToken: Token, + body: ConciseBody + ): ArrowFunction; + + declare function createDelete(expression: Expression): DeleteExpression; + + declare function updateDelete( + node: DeleteExpression, + expression: Expression + ): DeleteExpression; + + declare function createTypeOf(expression: Expression): TypeOfExpression; + + declare function updateTypeOf( + node: TypeOfExpression, + expression: Expression + ): TypeOfExpression; + + declare function createVoid(expression: Expression): VoidExpression; + + declare function updateVoid( + node: VoidExpression, + expression: Expression + ): VoidExpression; + + declare function createAwait(expression: Expression): AwaitExpression; + + declare function updateAwait( + node: AwaitExpression, + expression: Expression + ): AwaitExpression; + + declare function createPrefix( + operator: PrefixUnaryOperator, + operand: Expression + ): PrefixUnaryExpression; + + declare function updatePrefix( + node: PrefixUnaryExpression, + operand: Expression + ): PrefixUnaryExpression; + + declare function createPostfix( + operand: Expression, + operator: PostfixUnaryOperator + ): PostfixUnaryExpression; + + declare function updatePostfix( + node: PostfixUnaryExpression, + operand: Expression + ): PostfixUnaryExpression; + + declare function createBinary( + left: Expression, + operator: BinaryOperator | BinaryOperatorToken, + right: Expression + ): BinaryExpression; + + declare function updateBinary( + node: BinaryExpression, + left: Expression, + right: Expression, + operator?: BinaryOperator | BinaryOperatorToken + ): BinaryExpression; + + declare function createConditional( + condition: Expression, + whenTrue: Expression, + whenFalse: Expression + ): ConditionalExpression; + + declare function createConditional( + condition: Expression, + questionToken: QuestionToken, + whenTrue: Expression, + colonToken: ColonToken, + whenFalse: Expression + ): ConditionalExpression; + + declare function updateConditional( + node: ConditionalExpression, + condition: Expression, + questionToken: Token, + whenTrue: Expression, + colonToken: Token, + whenFalse: Expression + ): ConditionalExpression; + + declare function createTemplateExpression( + head: TemplateHead, + templateSpans: $ReadOnlyArray + ): TemplateExpression; + + declare function updateTemplateExpression( + node: TemplateExpression, + head: TemplateHead, + templateSpans: $ReadOnlyArray + ): TemplateExpression; + + declare function createTemplateHead(text: string): TemplateHead; + + declare function createTemplateMiddle(text: string): TemplateMiddle; + + declare function createTemplateTail(text: string): TemplateTail; + + declare function createNoSubstitutionTemplateLiteral( + text: string + ): NoSubstitutionTemplateLiteral; + + declare function createYield(expression?: Expression): YieldExpression; + + declare function createYield( + asteriskToken: AsteriskToken | void, + expression: Expression + ): YieldExpression; + + declare function updateYield( + node: YieldExpression, + asteriskToken: AsteriskToken | void, + expression: Expression + ): YieldExpression; + + declare function createSpread(expression: Expression): SpreadElement; + + declare function updateSpread( + node: SpreadElement, + expression: Expression + ): SpreadElement; + + declare function createClassExpression( + modifiers: $ReadOnlyArray | void, + name: string | Identifier | void, + typeParameters: $ReadOnlyArray | void, + heritageClauses: $ReadOnlyArray | void, + members: $ReadOnlyArray + ): ClassExpression; + + declare function updateClassExpression( + node: ClassExpression, + modifiers: $ReadOnlyArray | void, + name: Identifier | void, + typeParameters: $ReadOnlyArray | void, + heritageClauses: $ReadOnlyArray | void, + members: $ReadOnlyArray + ): ClassExpression; + + declare function createOmittedExpression(): OmittedExpression; + + declare function createExpressionWithTypeArguments( + typeArguments: $ReadOnlyArray | void, + expression: Expression + ): ExpressionWithTypeArguments; + + declare function updateExpressionWithTypeArguments( + node: ExpressionWithTypeArguments, + typeArguments: $ReadOnlyArray | void, + expression: Expression + ): ExpressionWithTypeArguments; + + declare function createAsExpression( + expression: Expression, + type: TypeNode + ): AsExpression; + + declare function updateAsExpression( + node: AsExpression, + expression: Expression, + type: TypeNode + ): AsExpression; + + declare function createNonNullExpression( + expression: Expression + ): NonNullExpression; + + declare function updateNonNullExpression( + node: NonNullExpression, + expression: Expression + ): NonNullExpression; + + declare function createMetaProperty( + keywordToken: $ElementType, + name: Identifier + ): MetaProperty; + + declare function updateMetaProperty( + node: MetaProperty, + name: Identifier + ): MetaProperty; + + declare function createTemplateSpan( + expression: Expression, + literal: TemplateMiddle | TemplateTail + ): TemplateSpan; + + declare function updateTemplateSpan( + node: TemplateSpan, + expression: Expression, + literal: TemplateMiddle | TemplateTail + ): TemplateSpan; + + declare function createSemicolonClassElement(): SemicolonClassElement; + + declare function createBlock( + statements: $ReadOnlyArray, + multiLine?: boolean + ): Block; + + declare function updateBlock( + node: Block, + statements: $ReadOnlyArray + ): Block; + + declare function createVariableStatement( + modifiers: $ReadOnlyArray | void, + declarationList: + | VariableDeclarationList + | $ReadOnlyArray + ): VariableStatement; + + declare function updateVariableStatement( + node: VariableStatement, + modifiers: $ReadOnlyArray | void, + declarationList: VariableDeclarationList + ): VariableStatement; + + declare function createEmptyStatement(): EmptyStatement; + + declare function createExpressionStatement( + expression: Expression + ): ExpressionStatement; + + declare function updateExpressionStatement( + node: ExpressionStatement, + expression: Expression + ): ExpressionStatement; + + declare var createStatement: typeof createExpressionStatement; + declare var updateStatement: typeof updateExpressionStatement; + declare function createIf( + expression: Expression, + thenStatement: Statement, + elseStatement?: Statement + ): IfStatement; + + declare function updateIf( + node: IfStatement, + expression: Expression, + thenStatement: Statement, + elseStatement: Statement | void + ): IfStatement; + + declare function createDo( + statement: Statement, + expression: Expression + ): DoStatement; + + declare function updateDo( + node: DoStatement, + statement: Statement, + expression: Expression + ): DoStatement; + + declare function createWhile( + expression: Expression, + statement: Statement + ): WhileStatement; + + declare function updateWhile( + node: WhileStatement, + expression: Expression, + statement: Statement + ): WhileStatement; + + declare function createFor( + initializer: ForInitializer | void, + condition: Expression | void, + incrementor: Expression | void, + statement: Statement + ): ForStatement; + + declare function updateFor( + node: ForStatement, + initializer: ForInitializer | void, + condition: Expression | void, + incrementor: Expression | void, + statement: Statement + ): ForStatement; + + declare function createForIn( + initializer: ForInitializer, + expression: Expression, + statement: Statement + ): ForInStatement; + + declare function updateForIn( + node: ForInStatement, + initializer: ForInitializer, + expression: Expression, + statement: Statement + ): ForInStatement; + + declare function createForOf( + awaitModifier: AwaitKeywordToken | void, + initializer: ForInitializer, + expression: Expression, + statement: Statement + ): ForOfStatement; + + declare function updateForOf( + node: ForOfStatement, + awaitModifier: AwaitKeywordToken | void, + initializer: ForInitializer, + expression: Expression, + statement: Statement + ): ForOfStatement; + + declare function createContinue( + label?: string | Identifier + ): ContinueStatement; + + declare function updateContinue( + node: ContinueStatement, + label: Identifier | void + ): ContinueStatement; + + declare function createBreak(label?: string | Identifier): BreakStatement; + + declare function updateBreak( + node: BreakStatement, + label: Identifier | void + ): BreakStatement; + + declare function createReturn(expression?: Expression): ReturnStatement; + + declare function updateReturn( + node: ReturnStatement, + expression: Expression | void + ): ReturnStatement; + + declare function createWith( + expression: Expression, + statement: Statement + ): WithStatement; + + declare function updateWith( + node: WithStatement, + expression: Expression, + statement: Statement + ): WithStatement; + + declare function createSwitch( + expression: Expression, + caseBlock: CaseBlock + ): SwitchStatement; + + declare function updateSwitch( + node: SwitchStatement, + expression: Expression, + caseBlock: CaseBlock + ): SwitchStatement; + + declare function createLabel( + label: string | Identifier, + statement: Statement + ): LabeledStatement; + + declare function updateLabel( + node: LabeledStatement, + label: Identifier, + statement: Statement + ): LabeledStatement; + + declare function createThrow(expression: Expression): ThrowStatement; + + declare function updateThrow( + node: ThrowStatement, + expression: Expression + ): ThrowStatement; + + declare function createTry( + tryBlock: Block, + catchClause: CatchClause | void, + finallyBlock: Block | void + ): TryStatement; + + declare function updateTry( + node: TryStatement, + tryBlock: Block, + catchClause: CatchClause | void, + finallyBlock: Block | void + ): TryStatement; + + declare function createDebuggerStatement(): DebuggerStatement; + + declare function createVariableDeclaration( + name: string | BindingName, + type?: TypeNode, + initializer?: Expression + ): VariableDeclaration; + + declare function updateVariableDeclaration( + node: VariableDeclaration, + name: BindingName, + type: TypeNode | void, + initializer: Expression | void + ): VariableDeclaration; + + declare function createVariableDeclarationList( + declarations: $ReadOnlyArray, + flags?: $Values + ): VariableDeclarationList; + + declare function updateVariableDeclarationList( + node: VariableDeclarationList, + declarations: $ReadOnlyArray + ): VariableDeclarationList; + + declare function createFunctionDeclaration( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + asteriskToken: AsteriskToken | void, + name: string | Identifier | void, + typeParameters: $ReadOnlyArray | void, + parameters: $ReadOnlyArray, + type: TypeNode | void, + body: Block | void + ): FunctionDeclaration; + + declare function updateFunctionDeclaration( + node: FunctionDeclaration, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + asteriskToken: AsteriskToken | void, + name: Identifier | void, + typeParameters: $ReadOnlyArray | void, + parameters: $ReadOnlyArray, + type: TypeNode | void, + body: Block | void + ): FunctionDeclaration; + + declare function createClassDeclaration( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: string | Identifier | void, + typeParameters: $ReadOnlyArray | void, + heritageClauses: $ReadOnlyArray | void, + members: $ReadOnlyArray + ): ClassDeclaration; + + declare function updateClassDeclaration( + node: ClassDeclaration, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: Identifier | void, + typeParameters: $ReadOnlyArray | void, + heritageClauses: $ReadOnlyArray | void, + members: $ReadOnlyArray + ): ClassDeclaration; + + declare function createInterfaceDeclaration( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: string | Identifier, + typeParameters: $ReadOnlyArray | void, + heritageClauses: $ReadOnlyArray | void, + members: $ReadOnlyArray + ): InterfaceDeclaration; + + declare function updateInterfaceDeclaration( + node: InterfaceDeclaration, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: Identifier, + typeParameters: $ReadOnlyArray | void, + heritageClauses: $ReadOnlyArray | void, + members: $ReadOnlyArray + ): InterfaceDeclaration; + + declare function createTypeAliasDeclaration( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: string | Identifier, + typeParameters: $ReadOnlyArray | void, + type: TypeNode + ): TypeAliasDeclaration; + + declare function updateTypeAliasDeclaration( + node: TypeAliasDeclaration, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: Identifier, + typeParameters: $ReadOnlyArray | void, + type: TypeNode + ): TypeAliasDeclaration; + + declare function createEnumDeclaration( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: string | Identifier, + members: $ReadOnlyArray + ): EnumDeclaration; + + declare function updateEnumDeclaration( + node: EnumDeclaration, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: Identifier, + members: $ReadOnlyArray + ): EnumDeclaration; + + declare function createModuleDeclaration( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: ModuleName, + body: ModuleBody | void, + flags?: $Values + ): ModuleDeclaration; + + declare function updateModuleDeclaration( + node: ModuleDeclaration, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: ModuleName, + body: ModuleBody | void + ): ModuleDeclaration; + + declare function createModuleBlock( + statements: $ReadOnlyArray + ): ModuleBlock; + + declare function updateModuleBlock( + node: ModuleBlock, + statements: $ReadOnlyArray + ): ModuleBlock; + + declare function createCaseBlock( + clauses: $ReadOnlyArray + ): CaseBlock; + + declare function updateCaseBlock( + node: CaseBlock, + clauses: $ReadOnlyArray + ): CaseBlock; + + declare function createNamespaceExportDeclaration( + name: string | Identifier + ): NamespaceExportDeclaration; + + declare function updateNamespaceExportDeclaration( + node: NamespaceExportDeclaration, + name: Identifier + ): NamespaceExportDeclaration; + + declare function createImportEqualsDeclaration( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: string | Identifier, + moduleReference: ModuleReference + ): ImportEqualsDeclaration; + + declare function updateImportEqualsDeclaration( + node: ImportEqualsDeclaration, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + name: Identifier, + moduleReference: ModuleReference + ): ImportEqualsDeclaration; + + declare function createImportDeclaration( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + importClause: ImportClause | void, + moduleSpecifier: Expression + ): ImportDeclaration; + + declare function updateImportDeclaration( + node: ImportDeclaration, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + importClause: ImportClause | void, + moduleSpecifier: Expression + ): ImportDeclaration; + + declare function createImportClause( + name: Identifier | void, + namedBindings: NamedImportBindings | void + ): ImportClause; + + declare function updateImportClause( + node: ImportClause, + name: Identifier | void, + namedBindings: NamedImportBindings | void + ): ImportClause; + + declare function createNamespaceImport(name: Identifier): NamespaceImport; + + declare function updateNamespaceImport( + node: NamespaceImport, + name: Identifier + ): NamespaceImport; + + declare function createNamedImports( + elements: $ReadOnlyArray + ): NamedImports; + + declare function updateNamedImports( + node: NamedImports, + elements: $ReadOnlyArray + ): NamedImports; + + declare function createImportSpecifier( + propertyName: Identifier | void, + name: Identifier + ): ImportSpecifier; + + declare function updateImportSpecifier( + node: ImportSpecifier, + propertyName: Identifier | void, + name: Identifier + ): ImportSpecifier; + + declare function createExportAssignment( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + isExportEquals: boolean | void, + expression: Expression + ): ExportAssignment; + + declare function updateExportAssignment( + node: ExportAssignment, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + expression: Expression + ): ExportAssignment; + + declare function createExportDeclaration( + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + exportClause: NamedExports | void, + moduleSpecifier?: Expression + ): ExportDeclaration; + + declare function updateExportDeclaration( + node: ExportDeclaration, + decorators: $ReadOnlyArray | void, + modifiers: $ReadOnlyArray | void, + exportClause: NamedExports | void, + moduleSpecifier: Expression | void + ): ExportDeclaration; + + declare function createNamedExports( + elements: $ReadOnlyArray + ): NamedExports; + + declare function updateNamedExports( + node: NamedExports, + elements: $ReadOnlyArray + ): NamedExports; + + declare function createExportSpecifier( + propertyName: string | Identifier | void, + name: string | Identifier + ): ExportSpecifier; + + declare function updateExportSpecifier( + node: ExportSpecifier, + propertyName: Identifier | void, + name: Identifier + ): ExportSpecifier; + + declare function createExternalModuleReference( + expression: Expression + ): ExternalModuleReference; + + declare function updateExternalModuleReference( + node: ExternalModuleReference, + expression: Expression + ): ExternalModuleReference; + + declare function createJsxElement( + openingElement: JsxOpeningElement, + children: $ReadOnlyArray, + closingElement: JsxClosingElement + ): JsxElement; + + declare function updateJsxElement( + node: JsxElement, + openingElement: JsxOpeningElement, + children: $ReadOnlyArray, + closingElement: JsxClosingElement + ): JsxElement; + + declare function createJsxSelfClosingElement( + tagName: JsxTagNameExpression, + typeArguments: $ReadOnlyArray | void, + attributes: JsxAttributes + ): JsxSelfClosingElement; + + declare function updateJsxSelfClosingElement( + node: JsxSelfClosingElement, + tagName: JsxTagNameExpression, + typeArguments: $ReadOnlyArray | void, + attributes: JsxAttributes + ): JsxSelfClosingElement; + + declare function createJsxOpeningElement( + tagName: JsxTagNameExpression, + typeArguments: $ReadOnlyArray | void, + attributes: JsxAttributes + ): JsxOpeningElement; + + declare function updateJsxOpeningElement( + node: JsxOpeningElement, + tagName: JsxTagNameExpression, + typeArguments: $ReadOnlyArray | void, + attributes: JsxAttributes + ): JsxOpeningElement; + + declare function createJsxClosingElement( + tagName: JsxTagNameExpression + ): JsxClosingElement; + + declare function updateJsxClosingElement( + node: JsxClosingElement, + tagName: JsxTagNameExpression + ): JsxClosingElement; + + declare function createJsxFragment( + openingFragment: JsxOpeningFragment, + children: $ReadOnlyArray, + closingFragment: JsxClosingFragment + ): JsxFragment; + + declare function updateJsxFragment( + node: JsxFragment, + openingFragment: JsxOpeningFragment, + children: $ReadOnlyArray, + closingFragment: JsxClosingFragment + ): JsxFragment; + + declare function createJsxAttribute( + name: Identifier, + initializer: StringLiteral | JsxExpression + ): JsxAttribute; + + declare function updateJsxAttribute( + node: JsxAttribute, + name: Identifier, + initializer: StringLiteral | JsxExpression + ): JsxAttribute; + + declare function createJsxAttributes( + properties: $ReadOnlyArray + ): JsxAttributes; + + declare function updateJsxAttributes( + node: JsxAttributes, + properties: $ReadOnlyArray + ): JsxAttributes; + + declare function createJsxSpreadAttribute( + expression: Expression + ): JsxSpreadAttribute; + + declare function updateJsxSpreadAttribute( + node: JsxSpreadAttribute, + expression: Expression + ): JsxSpreadAttribute; + + declare function createJsxExpression( + dotDotDotToken: DotDotDotToken | void, + expression: Expression | void + ): JsxExpression; + + declare function updateJsxExpression( + node: JsxExpression, + expression: Expression | void + ): JsxExpression; + + declare function createCaseClause( + expression: Expression, + statements: $ReadOnlyArray + ): CaseClause; + + declare function updateCaseClause( + node: CaseClause, + expression: Expression, + statements: $ReadOnlyArray + ): CaseClause; + + declare function createDefaultClause( + statements: $ReadOnlyArray + ): DefaultClause; + + declare function updateDefaultClause( + node: DefaultClause, + statements: $ReadOnlyArray + ): DefaultClause; + + declare function createHeritageClause( + token: $ElementType, + types: $ReadOnlyArray + ): HeritageClause; + + declare function updateHeritageClause( + node: HeritageClause, + types: $ReadOnlyArray + ): HeritageClause; + + declare function createCatchClause( + variableDeclaration: string | VariableDeclaration | void, + block: Block + ): CatchClause; + + declare function updateCatchClause( + node: CatchClause, + variableDeclaration: VariableDeclaration | void, + block: Block + ): CatchClause; + + declare function createPropertyAssignment( + name: string | PropertyName, + initializer: Expression + ): PropertyAssignment; + + declare function updatePropertyAssignment( + node: PropertyAssignment, + name: PropertyName, + initializer: Expression + ): PropertyAssignment; + + declare function createShorthandPropertyAssignment( + name: string | Identifier, + objectAssignmentInitializer?: Expression + ): ShorthandPropertyAssignment; + + declare function updateShorthandPropertyAssignment( + node: ShorthandPropertyAssignment, + name: Identifier, + objectAssignmentInitializer: Expression | void + ): ShorthandPropertyAssignment; + + declare function createSpreadAssignment( + expression: Expression + ): SpreadAssignment; + + declare function updateSpreadAssignment( + node: SpreadAssignment, + expression: Expression + ): SpreadAssignment; + + declare function createEnumMember( + name: string | PropertyName, + initializer?: Expression + ): EnumMember; + + declare function updateEnumMember( + node: EnumMember, + name: PropertyName, + initializer: Expression | void + ): EnumMember; + + declare function updateSourceFileNode( + node: SourceFile, + statements: $ReadOnlyArray, + isDeclarationFile?: boolean, + referencedFiles?: $ElementType, + typeReferences?: $ElementType, + hasNoDefaultLib?: boolean, + libReferences?: $ElementType + ): SourceFile; + + declare function getMutableClone(node: T): T; + + declare function createNotEmittedStatement( + original: Node + ): NotEmittedStatement; + + declare function createPartiallyEmittedExpression( + expression: Expression, + original?: Node + ): PartiallyEmittedExpression; + + declare function updatePartiallyEmittedExpression( + node: PartiallyEmittedExpression, + expression: Expression + ): PartiallyEmittedExpression; + + declare function createCommaList( + elements: $ReadOnlyArray + ): CommaListExpression; + + declare function updateCommaList( + node: CommaListExpression, + elements: $ReadOnlyArray + ): CommaListExpression; + + declare function createBundle( + sourceFiles: $ReadOnlyArray, + prepends?: $ReadOnlyArray + ): Bundle; + + declare function createUnparsedSourceFile(text: string): UnparsedSource; + + declare function createUnparsedSourceFile( + inputFile: InputFiles, + type: "js" | "dts" + ): UnparsedSource; + + declare function createUnparsedSourceFile( + text: string, + mapPath: string | void, + map: string | void + ): UnparsedSource; + + declare function createInputFiles( + javascriptText: string, + declarationText: string + ): InputFiles; + + declare function createInputFiles( + readFileText: (path: string) => string | void, + javascriptPath: string, + javascriptMapPath: string | void, + declarationPath: string, + declarationMapPath: string | void + ): InputFiles; + + declare function createInputFiles( + javascriptText: string, + declarationText: string, + javascriptMapPath: string | void, + javascriptMapText: string | void, + declarationMapPath: string | void, + declarationMapText: string | void + ): InputFiles; + + declare function updateBundle( + node: Bundle, + sourceFiles: $ReadOnlyArray, + prepends?: $ReadOnlyArray + ): Bundle; + + declare function createImmediatelyInvokedFunctionExpression( + statements: $ReadOnlyArray + ): CallExpression; + + declare function createImmediatelyInvokedFunctionExpression( + statements: $ReadOnlyArray, + param: ParameterDeclaration, + paramValue: Expression + ): CallExpression; + + declare function createImmediatelyInvokedArrowFunction( + statements: $ReadOnlyArray + ): CallExpression; + + declare function createImmediatelyInvokedArrowFunction( + statements: $ReadOnlyArray, + param: ParameterDeclaration, + paramValue: Expression + ): CallExpression; + + declare function createComma(left: Expression, right: Expression): Expression; + + declare function createLessThan( + left: Expression, + right: Expression + ): Expression; + + declare function createAssignment( + left: ObjectLiteralExpression | ArrayLiteralExpression, + right: Expression + ): DestructuringAssignment; + + declare function createAssignment( + left: Expression, + right: Expression + ): BinaryExpression; + + declare function createStrictEquality( + left: Expression, + right: Expression + ): BinaryExpression; + + declare function createStrictInequality( + left: Expression, + right: Expression + ): BinaryExpression; + + declare function createAdd( + left: Expression, + right: Expression + ): BinaryExpression; + + declare function createSubtract( + left: Expression, + right: Expression + ): BinaryExpression; + + declare function createPostfixIncrement( + operand: Expression + ): PostfixUnaryExpression; + + declare function createLogicalAnd( + left: Expression, + right: Expression + ): BinaryExpression; + + declare function createLogicalOr( + left: Expression, + right: Expression + ): BinaryExpression; + + declare function createLogicalNot(operand: Expression): PrefixUnaryExpression; + + declare function createVoidZero(): VoidExpression; + + declare function createExportDefault( + expression: Expression + ): ExportAssignment; + + declare function createExternalModuleExport( + exportName: Identifier + ): ExportDeclaration; + + declare function disposeEmitNodes(sourceFile: SourceFile): void; + + declare function setTextRange( + range: T, + location: TextRange | void + ): T; + + declare function setEmitFlags( + node: T, + emitFlags: $Values + ): T; + + declare function getSourceMapRange(node: Node): SourceMapRange; + + declare function setSourceMapRange( + node: T, + range: SourceMapRange | void + ): T; + + declare function createSourceMapSource( + fileName: string, + text: string, + skipTrivia?: (pos: number) => number + ): SourceMapSource; + + declare function getTokenSourceMapRange( + node: Node, + token: $Values + ): SourceMapRange | void; + + declare function setTokenSourceMapRange( + node: T, + token: $Values, + range: SourceMapRange | void + ): T; + + declare function getCommentRange(node: Node): TextRange; + + declare function setCommentRange(node: T, range: TextRange): T; + + declare function getSyntheticLeadingComments( + node: Node + ): SynthesizedComment[] | void; + + declare function setSyntheticLeadingComments( + node: T, + comments: SynthesizedComment[] | void + ): T; + + declare function addSyntheticLeadingComment( + node: T, + kind: + | typeof SyntaxKind.SingleLineCommentTrivia + | typeof SyntaxKind.MultiLineCommentTrivia, + text: string, + hasTrailingNewLine?: boolean + ): T; + + declare function getSyntheticTrailingComments( + node: Node + ): SynthesizedComment[] | void; + + declare function setSyntheticTrailingComments( + node: T, + comments: SynthesizedComment[] | void + ): T; + + declare function addSyntheticTrailingComment( + node: T, + kind: + | typeof SyntaxKind.SingleLineCommentTrivia + | typeof SyntaxKind.MultiLineCommentTrivia, + text: string, + hasTrailingNewLine?: boolean + ): T; + + declare function moveSyntheticComments(node: T, original: Node): T; + + declare function getConstantValue( + node: PropertyAccessExpression | ElementAccessExpression + ): string | number | void; + + declare function setConstantValue( + node: PropertyAccessExpression | ElementAccessExpression, + value: string | number + ): PropertyAccessExpression | ElementAccessExpression; + + declare function addEmitHelper(node: T, helper: EmitHelper): T; + + declare function addEmitHelpers( + node: T, + helpers: EmitHelper[] | void + ): T; + + declare function removeEmitHelper(node: Node, helper: EmitHelper): boolean; + + declare function getEmitHelpers(node: Node): EmitHelper[] | void; + + declare function moveEmitHelpers( + source: Node, + target: Node, + predicate: (helper: EmitHelper) => boolean + ): void; + + declare function setOriginalNode(node: T, original: Node | void): T; + + declare function visitNode( + node: T | void, + visitor: Visitor | void, + test?: (node: Node) => boolean, + lift?: (node: NodeArray) => T + ): T; + + declare function visitNode( + node: T | void, + visitor: Visitor | void, + test?: (node: Node) => boolean, + lift?: (node: NodeArray) => T + ): T | void; + + declare function visitNodes( + nodes: NodeArray | void, + visitor: Visitor, + test?: (node: Node) => boolean, + start?: number, + count?: number + ): NodeArray; + + declare function visitNodes( + nodes: NodeArray | void, + visitor: Visitor, + test?: (node: Node) => boolean, + start?: number, + count?: number + ): NodeArray | void; + + declare function visitLexicalEnvironment( + statements: NodeArray, + visitor: Visitor, + context: TransformationContext, + start?: number, + ensureUseStrict?: boolean + ): NodeArray; + + declare function visitParameterList( + nodes: NodeArray | void, + visitor: Visitor, + context: TransformationContext, + nodesVisitor?: typeof visitNodes + ): NodeArray; + + declare function visitFunctionBody( + node: FunctionBody, + visitor: Visitor, + context: TransformationContext + ): FunctionBody; + + declare function visitFunctionBody( + node: FunctionBody | void, + visitor: Visitor, + context: TransformationContext + ): FunctionBody | void; + + declare function visitFunctionBody( + node: ConciseBody, + visitor: Visitor, + context: TransformationContext + ): ConciseBody; + + declare function visitEachChild( + node: T, + visitor: Visitor, + context: TransformationContext + ): T; + + declare function visitEachChild( + node: T | void, + visitor: Visitor, + context: TransformationContext, + nodesVisitor?: typeof visitNodes, + tokenVisitor?: Visitor + ): T | void; + + declare function createPrinter( + printerOptions?: PrinterOptions, + handlers?: PrintHandlers + ): Printer; + + declare function findConfigFile( + searchPath: string, + fileExists: (fileName: string) => boolean, + configName?: string + ): string | void; + + declare function resolveTripleslashReference( + moduleName: string, + containingFile: string + ): string; + + declare function createCompilerHost( + options: CompilerOptions, + setParentNodes?: boolean + ): CompilerHost; + + declare function getPreEmitDiagnostics( + program: Program, + sourceFile?: SourceFile, + cancellationToken?: CancellationToken + ): $ReadOnlyArray; + + declare type FormatDiagnosticsHost = { + getCurrentDirectory(): string, + getCanonicalFileName(fileName: string): string, + getNewLine(): string + }; + + declare function formatDiagnostics( + diagnostics: $ReadOnlyArray, + host: FormatDiagnosticsHost + ): string; + + declare function formatDiagnostic( + diagnostic: Diagnostic, + host: FormatDiagnosticsHost + ): string; + + declare function formatDiagnosticsWithColorAndContext( + diagnostics: $ReadOnlyArray, + host: FormatDiagnosticsHost + ): string; + + declare function flattenDiagnosticMessageText( + messageText: string | DiagnosticMessageChain | void, + newLine: string + ): string; + + declare function getConfigFileParsingDiagnostics( + configFileParseResult: ParsedCommandLine + ): $ReadOnlyArray; + + declare function createProgram( + createProgramOptions: CreateProgramOptions + ): Program; + + declare function createProgram( + rootNames: $ReadOnlyArray, + options: CompilerOptions, + host?: CompilerHost, + oldProgram?: Program, + configFileParsingDiagnostics?: $ReadOnlyArray + ): Program; + + declare type ResolveProjectReferencePathHost = { + fileExists(fileName: string): boolean + }; + + declare function resolveProjectReferencePath( + ref: ProjectReference + ): ResolvedConfigFileName; + + declare function resolveProjectReferencePath( + host: ResolveProjectReferencePathHost, + ref: ProjectReference + ): ResolvedConfigFileName; + + declare type EmitOutput = { + outputFiles: OutputFile[], + emitSkipped: boolean + }; + + declare type OutputFile = { + name: string, + writeByteOrderMark: boolean, + text: string + }; + + declare type AffectedFileResult = { + result: T, + affected: SourceFile | Program + } | void; + declare type BuilderProgramHost = { + useCaseSensitiveFileNames(): boolean, + createHash?: (data: string) => string, + writeFile?: WriteFileCallback + }; + + declare type BuilderProgram = { + getProgram(): Program, + getCompilerOptions(): CompilerOptions, + getSourceFile(fileName: string): SourceFile | void, + getSourceFiles(): $ReadOnlyArray, + getOptionsDiagnostics( + cancellationToken?: CancellationToken + ): $ReadOnlyArray, + getGlobalDiagnostics( + cancellationToken?: CancellationToken + ): $ReadOnlyArray, + getConfigFileParsingDiagnostics(): $ReadOnlyArray, + getSyntacticDiagnostics( + sourceFile?: SourceFile, + cancellationToken?: CancellationToken + ): $ReadOnlyArray, + getDeclarationDiagnostics( + sourceFile?: SourceFile, + cancellationToken?: CancellationToken + ): $ReadOnlyArray, + getAllDependencies(sourceFile: SourceFile): $ReadOnlyArray, + getSemanticDiagnostics( + sourceFile?: SourceFile, + cancellationToken?: CancellationToken + ): $ReadOnlyArray, + emit( + targetSourceFile?: SourceFile, + writeFile?: WriteFileCallback, + cancellationToken?: CancellationToken, + emitOnlyDtsFiles?: boolean, + customTransformers?: CustomTransformers + ): EmitResult, + getCurrentDirectory(): string + }; + + declare type SemanticDiagnosticsBuilderProgram = { + ...$Exact, + + getSemanticDiagnosticsOfNextAffectedFile( + cancellationToken?: CancellationToken, + ignoreSourceFile?: (sourceFile: SourceFile) => boolean + ): AffectedFileResult<$ReadOnlyArray> + }; + + declare type EmitAndSemanticDiagnosticsBuilderProgram = { + ...$Exact, + + emitNextAffectedFile( + writeFile?: WriteFileCallback, + cancellationToken?: CancellationToken, + emitOnlyDtsFiles?: boolean, + customTransformers?: CustomTransformers + ): AffectedFileResult + }; + + declare function createSemanticDiagnosticsBuilderProgram( + newProgram: Program, + host: BuilderProgramHost, + oldProgram?: SemanticDiagnosticsBuilderProgram, + configFileParsingDiagnostics?: $ReadOnlyArray + ): SemanticDiagnosticsBuilderProgram; + + declare function createSemanticDiagnosticsBuilderProgram( + rootNames: $ReadOnlyArray | void, + options: CompilerOptions | void, + host?: CompilerHost, + oldProgram?: SemanticDiagnosticsBuilderProgram, + configFileParsingDiagnostics?: $ReadOnlyArray, + projectReferences?: $ReadOnlyArray + ): SemanticDiagnosticsBuilderProgram; + + declare function createEmitAndSemanticDiagnosticsBuilderProgram( + newProgram: Program, + host: BuilderProgramHost, + oldProgram?: EmitAndSemanticDiagnosticsBuilderProgram, + configFileParsingDiagnostics?: $ReadOnlyArray + ): EmitAndSemanticDiagnosticsBuilderProgram; + + declare function createEmitAndSemanticDiagnosticsBuilderProgram( + rootNames: $ReadOnlyArray | void, + options: CompilerOptions | void, + host?: CompilerHost, + oldProgram?: EmitAndSemanticDiagnosticsBuilderProgram, + configFileParsingDiagnostics?: $ReadOnlyArray, + projectReferences?: $ReadOnlyArray + ): EmitAndSemanticDiagnosticsBuilderProgram; + + declare function createAbstractBuilder( + newProgram: Program, + host: BuilderProgramHost, + oldProgram?: BuilderProgram, + configFileParsingDiagnostics?: $ReadOnlyArray + ): BuilderProgram; + + declare function createAbstractBuilder( + rootNames: $ReadOnlyArray | void, + options: CompilerOptions | void, + host?: CompilerHost, + oldProgram?: BuilderProgram, + configFileParsingDiagnostics?: $ReadOnlyArray, + projectReferences?: $ReadOnlyArray + ): BuilderProgram; + + declare type WatchStatusReporter = ( + diagnostic: Diagnostic, + newLine: string, + options: CompilerOptions + ) => void; + declare type CreateProgram = ( + rootNames: $ReadOnlyArray | void, + options: CompilerOptions | void, + host?: CompilerHost, + oldProgram?: T, + configFileParsingDiagnostics?: $ReadOnlyArray, + projectReferences?: $ReadOnlyArray | void + ) => T; + declare type WatchHost = { + onWatchStatusChange?: ( + diagnostic: Diagnostic, + newLine: string, + options: CompilerOptions + ) => void, + watchFile( + path: string, + callback: FileWatcherCallback, + pollingInterval?: number + ): FileWatcher, + watchDirectory( + path: string, + callback: DirectoryWatcherCallback, + recursive?: boolean + ): FileWatcher, + setTimeout?: ( + callback: (...args: any[]) => void, + ms: number, + ...args: any[] + ) => any, + clearTimeout?: (timeoutId: any) => void + }; + + declare type ProgramHost = { + createProgram: CreateProgram, + useCaseSensitiveFileNames(): boolean, + getNewLine(): string, + getCurrentDirectory(): string, + getDefaultLibFileName(options: CompilerOptions): string, + getDefaultLibLocation?: () => string, + createHash?: (data: string) => string, + fileExists(path: string): boolean, + readFile(path: string, encoding?: string): string | void, + directoryExists?: (path: string) => boolean, + getDirectories?: (path: string) => string[], + readDirectory?: ( + path: string, + extensions?: $ReadOnlyArray, + exclude?: $ReadOnlyArray, + include?: $ReadOnlyArray, + depth?: number + ) => string[], + realpath?: (path: string) => string, + trace?: (s: string) => void, + getEnvironmentVariable?: (name: string) => string | void, + resolveModuleNames?: ( + moduleNames: string[], + containingFile: string, + reusedNames?: string[], + redirectedReference?: ResolvedProjectReference + ) => (ResolvedModule | void)[], + resolveTypeReferenceDirectives?: ( + typeReferenceDirectiveNames: string[], + containingFile: string, + redirectedReference?: ResolvedProjectReference + ) => (ResolvedTypeReferenceDirective | void)[] + }; + + declare type WatchCompilerHost = { + ...$Exact>, + ...$Exact, + + afterProgramCreate?: (program: T) => void + }; + + declare type WatchCompilerHostOfFilesAndCompilerOptions = { + ...$Exact>, + + rootFiles: string[], + options: CompilerOptions, + projectReferences?: $ReadOnlyArray + }; + + declare type WatchCompilerHostOfConfigFile = { + ...$Exact>, + ...$Exact, + + configFileName: string, + optionsToExtend?: CompilerOptions, + readDirectory( + path: string, + extensions?: $ReadOnlyArray, + exclude?: $ReadOnlyArray, + include?: $ReadOnlyArray, + depth?: number + ): string[] + }; + + declare type Watch = { + getProgram(): T + }; + + declare type WatchOfConfigFile = { ...$Exact> }; + + declare type WatchOfFilesAndCompilerOptions = { + ...$Exact>, + + updateRootFileNames(fileNames: string[]): void + }; + + declare function createWatchCompilerHost( + configFileName: string, + optionsToExtend: CompilerOptions | void, + system: System, + createProgram?: CreateProgram, + reportDiagnostic?: DiagnosticReporter, + reportWatchStatus?: WatchStatusReporter + ): WatchCompilerHostOfConfigFile; + + declare function createWatchCompilerHost( + rootFiles: string[], + options: CompilerOptions, + system: System, + createProgram?: CreateProgram, + reportDiagnostic?: DiagnosticReporter, + reportWatchStatus?: WatchStatusReporter, + projectReferences?: $ReadOnlyArray + ): WatchCompilerHostOfFilesAndCompilerOptions; + + declare function createWatchProgram( + host: WatchCompilerHostOfFilesAndCompilerOptions + ): WatchOfFilesAndCompilerOptions; + + declare function createWatchProgram( + host: WatchCompilerHostOfConfigFile + ): WatchOfConfigFile; + + declare type SourceFileLike = { + getLineAndCharacterOfPosition(pos: number): LineAndCharacter + }; + + declare type IScriptSnapshot = { + getText(start: number, end: number): string, + getLength(): number, + getChangeRange(oldSnapshot: IScriptSnapshot): TextChangeRange | void, + dispose?: () => void + }; + + declare function ScriptSnapshot$fromString(text: string): IScriptSnapshot; + + declare type PreProcessedFileInfo = { + referencedFiles: FileReference[], + typeReferenceDirectives: FileReference[], + libReferenceDirectives: FileReference[], + importedFiles: FileReference[], + ambientExternalModules?: string[], + isLibFile: boolean + }; + + declare type HostCancellationToken = { + isCancellationRequested(): boolean + }; + + declare type InstallPackageOptions = { + fileName: Path, + packageName: string + }; + + declare type LanguageServiceHost = { + ...$Exact, + + getCompilationSettings(): CompilerOptions, + getNewLine?: () => string, + getProjectVersion?: () => string, + getScriptFileNames(): string[], + getScriptKind?: (fileName: string) => $Values, + getScriptVersion(fileName: string): string, + getScriptSnapshot(fileName: string): IScriptSnapshot | void, + getProjectReferences?: () => $ReadOnlyArray | void, + getLocalizedDiagnosticMessages?: () => any, + getCancellationToken?: () => HostCancellationToken, + getCurrentDirectory(): string, + getDefaultLibFileName(options: CompilerOptions): string, + log?: (s: string) => void, + trace?: (s: string) => void, + error?: (s: string) => void, + useCaseSensitiveFileNames?: () => boolean, + readDirectory?: ( + path: string, + extensions?: $ReadOnlyArray, + exclude?: $ReadOnlyArray, + include?: $ReadOnlyArray, + depth?: number + ) => string[], + readFile?: (path: string, encoding?: string) => string | void, + realpath?: (path: string) => string, + fileExists?: (path: string) => boolean, + getTypeRootsVersion?: () => number, + resolveModuleNames?: ( + moduleNames: string[], + containingFile: string, + reusedNames?: string[], + redirectedReference?: ResolvedProjectReference + ) => (ResolvedModule | void)[], + getResolvedModuleWithFailedLookupLocationsFromCache?: ( + modulename: string, + containingFile: string + ) => ResolvedModuleWithFailedLookupLocations | void, + resolveTypeReferenceDirectives?: ( + typeDirectiveNames: string[], + containingFile: string, + redirectedReference?: ResolvedProjectReference + ) => (ResolvedTypeReferenceDirective | void)[], + getDirectories?: (directoryName: string) => string[], + getCustomTransformers?: () => CustomTransformers | void, + isKnownTypesPackageName?: (name: string) => boolean, + installPackage?: ( + options: InstallPackageOptions + ) => Promise, + writeFile?: (fileName: string, content: string) => void + }; + + declare type WithMetadata = T & { + metadata?: mixed + }; + declare type LanguageService = { + cleanupSemanticCache(): void, + getSyntacticDiagnostics(fileName: string): DiagnosticWithLocation[], + getSemanticDiagnostics(fileName: string): Diagnostic[], + getSuggestionDiagnostics(fileName: string): DiagnosticWithLocation[], + getCompilerOptionsDiagnostics(): Diagnostic[], + getSyntacticClassifications( + fileName: string, + span: TextSpan + ): ClassifiedSpan[], + getSemanticClassifications( + fileName: string, + span: TextSpan + ): ClassifiedSpan[], + getEncodedSyntacticClassifications( + fileName: string, + span: TextSpan + ): Classifications, + getEncodedSemanticClassifications( + fileName: string, + span: TextSpan + ): Classifications, + getCompletionsAtPosition( + fileName: string, + position: number, + options: GetCompletionsAtPositionOptions | void + ): WithMetadata | void, + getCompletionEntryDetails( + fileName: string, + position: number, + name: string, + formatOptions: FormatCodeOptions | FormatCodeSettings | void, + source: string | void, + preferences: UserPreferences | void + ): CompletionEntryDetails | void, + getCompletionEntrySymbol( + fileName: string, + position: number, + name: string, + source: string | void + ): Symbol | void, + getQuickInfoAtPosition( + fileName: string, + position: number + ): QuickInfo | void, + getNameOrDottedNameSpan( + fileName: string, + startPos: number, + endPos: number + ): TextSpan | void, + getBreakpointStatementAtPosition( + fileName: string, + position: number + ): TextSpan | void, + getSignatureHelpItems( + fileName: string, + position: number, + options: SignatureHelpItemsOptions | void + ): SignatureHelpItems | void, + getRenameInfo( + fileName: string, + position: number, + options?: RenameInfoOptions + ): RenameInfo, + findRenameLocations( + fileName: string, + position: number, + findInStrings: boolean, + findInComments: boolean, + providePrefixAndSuffixTextForRename?: boolean + ): $ReadOnlyArray | void, + getDefinitionAtPosition( + fileName: string, + position: number + ): $ReadOnlyArray | void, + getDefinitionAndBoundSpan( + fileName: string, + position: number + ): DefinitionInfoAndBoundSpan | void, + getTypeDefinitionAtPosition( + fileName: string, + position: number + ): $ReadOnlyArray | void, + getImplementationAtPosition( + fileName: string, + position: number + ): $ReadOnlyArray | void, + getReferencesAtPosition( + fileName: string, + position: number + ): ReferenceEntry[] | void, + findReferences( + fileName: string, + position: number + ): ReferencedSymbol[] | void, + getDocumentHighlights( + fileName: string, + position: number, + filesToSearch: string[] + ): DocumentHighlights[] | void, + getOccurrencesAtPosition( + fileName: string, + position: number + ): $ReadOnlyArray | void, + getNavigateToItems( + searchValue: string, + maxResultCount?: number, + fileName?: string, + excludeDtsFiles?: boolean + ): NavigateToItem[], + getNavigationBarItems(fileName: string): NavigationBarItem[], + getNavigationTree(fileName: string): NavigationTree, + getOutliningSpans(fileName: string): OutliningSpan[], + getTodoComments( + fileName: string, + descriptors: TodoCommentDescriptor[] + ): TodoComment[], + getBraceMatchingAtPosition(fileName: string, position: number): TextSpan[], + getIndentationAtPosition( + fileName: string, + position: number, + options: EditorOptions | EditorSettings + ): number, + getFormattingEditsForRange( + fileName: string, + start: number, + end: number, + options: FormatCodeOptions | FormatCodeSettings + ): TextChange[], + getFormattingEditsForDocument( + fileName: string, + options: FormatCodeOptions | FormatCodeSettings + ): TextChange[], + getFormattingEditsAfterKeystroke( + fileName: string, + position: number, + key: string, + options: FormatCodeOptions | FormatCodeSettings + ): TextChange[], + getDocCommentTemplateAtPosition( + fileName: string, + position: number + ): TextInsertion | void, + isValidBraceCompletionAtPosition( + fileName: string, + position: number, + openingBrace: number + ): boolean, + getJsxClosingTagAtPosition( + fileName: string, + position: number + ): JsxClosingTagInfo | void, + getSpanOfEnclosingComment( + fileName: string, + position: number, + onlyMultiLine: boolean + ): TextSpan | void, + toLineColumnOffset?: ( + fileName: string, + position: number + ) => LineAndCharacter, + getCodeFixesAtPosition( + fileName: string, + start: number, + end: number, + errorCodes: $ReadOnlyArray, + formatOptions: FormatCodeSettings, + preferences: UserPreferences + ): $ReadOnlyArray, + getCombinedCodeFix( + scope: CombinedCodeFixScope, + fixId: {}, + formatOptions: FormatCodeSettings, + preferences: UserPreferences + ): CombinedCodeActions, + applyCodeActionCommand( + action: CodeActionCommand, + formatSettings?: FormatCodeSettings + ): Promise, + applyCodeActionCommand( + action: CodeActionCommand[], + formatSettings?: FormatCodeSettings + ): Promise, + applyCodeActionCommand( + action: CodeActionCommand | CodeActionCommand[], + formatSettings?: FormatCodeSettings + ): Promise, + applyCodeActionCommand( + fileName: string, + action: CodeActionCommand + ): Promise, + applyCodeActionCommand( + fileName: string, + action: CodeActionCommand[] + ): Promise, + applyCodeActionCommand( + fileName: string, + action: CodeActionCommand | CodeActionCommand[] + ): Promise, + getApplicableRefactors( + fileName: string, + positionOrRange: number | TextRange, + preferences: UserPreferences | void + ): ApplicableRefactorInfo[], + getEditsForRefactor( + fileName: string, + formatOptions: FormatCodeSettings, + positionOrRange: number | TextRange, + refactorName: string, + actionName: string, + preferences: UserPreferences | void + ): RefactorEditInfo | void, + organizeImports( + scope: OrganizeImportsScope, + formatOptions: FormatCodeSettings, + preferences: UserPreferences | void + ): $ReadOnlyArray, + getEditsForFileRename( + oldFilePath: string, + newFilePath: string, + formatOptions: FormatCodeSettings, + preferences: UserPreferences | void + ): $ReadOnlyArray, + getEmitOutput(fileName: string, emitOnlyDtsFiles?: boolean): EmitOutput, + getProgram(): Program | void, + dispose(): void + }; + + declare type JsxClosingTagInfo = { + +newText: string + }; + + declare type CombinedCodeFixScope = { + type: "file", + fileName: string + }; + + declare type OrganizeImportsScope = CombinedCodeFixScope; + declare type CompletionsTriggerCharacter = + | "." + | '"' + | "'" + | "`" + | "/" + | "@" + | "<"; + declare type GetCompletionsAtPositionOptions = { + ...$Exact, + + triggerCharacter?: CompletionsTriggerCharacter, + includeExternalModuleExports?: boolean, + includeInsertTextCompletions?: boolean + }; + + declare type SignatureHelpTriggerCharacter = "," | "(" | "<"; + declare type SignatureHelpRetriggerCharacter = + | SignatureHelpTriggerCharacter + | ")"; + declare type SignatureHelpItemsOptions = { + triggerReason?: SignatureHelpTriggerReason + }; + + declare type SignatureHelpTriggerReason = + | SignatureHelpInvokedReason + | SignatureHelpCharacterTypedReason + | SignatureHelpRetriggeredReason; + declare type SignatureHelpInvokedReason = { + kind: "invoked", + triggerCharacter?: void + }; + + declare type SignatureHelpCharacterTypedReason = { + kind: "characterTyped", + triggerCharacter: SignatureHelpTriggerCharacter + }; + + declare type SignatureHelpRetriggeredReason = { + kind: "retrigger", + triggerCharacter?: SignatureHelpRetriggerCharacter + }; + + declare type ApplyCodeActionCommandResult = { + successMessage: string + }; + + declare type Classifications = { + spans: number[], + endOfLineState: $Values + }; + + declare type ClassifiedSpan = { + textSpan: TextSpan, + classificationType: $Values + }; + + declare type NavigationBarItem = { + text: string, + kind: $Values, + kindModifiers: string, + spans: TextSpan[], + childItems: NavigationBarItem[], + indent: number, + bolded: boolean, + grayed: boolean + }; + + declare type NavigationTree = { + text: string, + kind: $Values, + kindModifiers: string, + spans: TextSpan[], + nameSpan: TextSpan | void, + childItems?: NavigationTree[] + }; + + declare type TodoCommentDescriptor = { + text: string, + priority: number + }; + + declare type TodoComment = { + descriptor: TodoCommentDescriptor, + message: string, + position: number + }; + + declare type TextChange = { + span: TextSpan, + newText: string + }; + + declare type FileTextChanges = { + fileName: string, + textChanges: TextChange[], + isNewFile?: boolean + }; + + declare type CodeAction = { + description: string, + changes: FileTextChanges[], + commands?: CodeActionCommand[] + }; + + declare type CodeFixAction = { + ...$Exact, + + fixName: string, + fixId?: {}, + fixAllDescription?: string + }; + + declare type CombinedCodeActions = { + changes: $ReadOnlyArray, + commands?: $ReadOnlyArray + }; + + declare type CodeActionCommand = InstallPackageAction | GenerateTypesAction; + declare type InstallPackageAction = {}; + + declare type GenerateTypesAction = { ...$Exact }; + + declare type GenerateTypesOptions = { + +file: string, + +fileToGenerateTypesFor: string, + +outputFileName: string + }; + + declare type ApplicableRefactorInfo = { + name: string, + description: string, + inlineable?: boolean, + actions: RefactorActionInfo[] + }; + + declare type RefactorActionInfo = { + name: string, + description: string + }; + + declare type RefactorEditInfo = { + edits: FileTextChanges[], + renameFilename?: string, + renameLocation?: number, + commands?: CodeActionCommand[] + }; + + declare type TextInsertion = { + newText: string, + caretOffset: number + }; + + declare type DocumentSpan = { + textSpan: TextSpan, + fileName: string, + originalTextSpan?: TextSpan, + originalFileName?: string + }; + + declare type RenameLocation = { + ...$Exact, + + +prefixText?: string, + +suffixText?: string + }; + + declare type ReferenceEntry = { + ...$Exact, + + isWriteAccess: boolean, + isDefinition: boolean, + isInString?: true + }; + + declare type ImplementationLocation = { + ...$Exact, + + kind: $Values, + displayParts: SymbolDisplayPart[] + }; + + declare type DocumentHighlights = { + fileName: string, + highlightSpans: HighlightSpan[] + }; + + declare var HighlightSpanKind: { + +none: "none", // "none" + +definition: "definition", // "definition" + +reference: "reference", // "reference" + +writtenReference: "writtenReference" // "writtenReference" + }; + + declare type HighlightSpan = { + fileName?: string, + isInString?: true, + textSpan: TextSpan, + kind: $Values + }; + + declare type NavigateToItem = { + name: string, + kind: $Values, + kindModifiers: string, + matchKind: "exact" | "prefix" | "substring" | "camelCase", + isCaseSensitive: boolean, + fileName: string, + textSpan: TextSpan, + containerName: string, + containerKind: $Values + }; + + declare var IndentStyle: { + +None: 0, // 0 + +Block: 1, // 1 + +Smart: 2 // 2 + }; + + declare type EditorOptions = { + BaseIndentSize?: number, + IndentSize: number, + TabSize: number, + NewLineCharacter: string, + ConvertTabsToSpaces: boolean, + IndentStyle: $Values + }; + + declare type EditorSettings = { + baseIndentSize?: number, + indentSize?: number, + tabSize?: number, + newLineCharacter?: string, + convertTabsToSpaces?: boolean, + indentStyle?: $Values + }; + + declare type FormatCodeOptions = { + ...$Exact, + + InsertSpaceAfterCommaDelimiter: boolean, + InsertSpaceAfterSemicolonInForStatements: boolean, + InsertSpaceBeforeAndAfterBinaryOperators: boolean, + InsertSpaceAfterConstructor?: boolean, + InsertSpaceAfterKeywordsInControlFlowStatements: boolean, + InsertSpaceAfterFunctionKeywordForAnonymousFunctions: boolean, + InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis: boolean, + InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets: boolean, + InsertSpaceAfterOpeningAndBeforeClosingNonemptyBraces?: boolean, + InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces: boolean, + InsertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces?: boolean, + InsertSpaceAfterTypeAssertion?: boolean, + InsertSpaceBeforeFunctionParenthesis?: boolean, + PlaceOpenBraceOnNewLineForFunctions: boolean, + PlaceOpenBraceOnNewLineForControlBlocks: boolean, + insertSpaceBeforeTypeAnnotation?: boolean + }; + + declare type FormatCodeSettings = { + ...$Exact, + + +insertSpaceAfterCommaDelimiter?: boolean, + +insertSpaceAfterSemicolonInForStatements?: boolean, + +insertSpaceBeforeAndAfterBinaryOperators?: boolean, + +insertSpaceAfterConstructor?: boolean, + +insertSpaceAfterKeywordsInControlFlowStatements?: boolean, + +insertSpaceAfterFunctionKeywordForAnonymousFunctions?: boolean, + +insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis?: boolean, + +insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets?: boolean, + +insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces?: boolean, + +insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces?: boolean, + +insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces?: boolean, + +insertSpaceAfterTypeAssertion?: boolean, + +insertSpaceBeforeFunctionParenthesis?: boolean, + +placeOpenBraceOnNewLineForFunctions?: boolean, + +placeOpenBraceOnNewLineForControlBlocks?: boolean, + +insertSpaceBeforeTypeAnnotation?: boolean, + +indentMultiLineObjectLiteralBeginningOnBlankLine?: boolean + }; + + declare function getDefaultFormatCodeSettings( + newLineCharacter?: string + ): FormatCodeSettings; + + declare type DefinitionInfo = { + ...$Exact, + + kind: $Values, + name: string, + containerKind: $Values, + containerName: string + }; + + declare type DefinitionInfoAndBoundSpan = { + definitions?: $ReadOnlyArray, + textSpan: TextSpan + }; + + declare type ReferencedSymbolDefinitionInfo = { + ...$Exact, + + displayParts: SymbolDisplayPart[] + }; + + declare type ReferencedSymbol = { + definition: ReferencedSymbolDefinitionInfo, + references: ReferenceEntry[] + }; + + declare var SymbolDisplayPartKind: { + +aliasName: 0, // 0 + +className: 1, // 1 + +enumName: 2, // 2 + +fieldName: 3, // 3 + +interfaceName: 4, // 4 + +keyword: 5, // 5 + +lineBreak: 6, // 6 + +numericLiteral: 7, // 7 + +stringLiteral: 8, // 8 + +localName: 9, // 9 + +methodName: 10, // 10 + +moduleName: 11, // 11 + +operator: 12, // 12 + +parameterName: 13, // 13 + +propertyName: 14, // 14 + +punctuation: 15, // 15 + +space: 16, // 16 + +text: 17, // 17 + +typeParameterName: 18, // 18 + +enumMemberName: 19, // 19 + +functionName: 20, // 20 + +regularExpressionLiteral: 21 // 21 + }; + + declare type SymbolDisplayPart = { + text: string, + kind: string + }; + + declare type JSDocTagInfo = { + name: string, + text?: string + }; + + declare type QuickInfo = { + kind: $Values, + kindModifiers: string, + textSpan: TextSpan, + displayParts?: SymbolDisplayPart[], + documentation?: SymbolDisplayPart[], + tags?: JSDocTagInfo[] + }; + + declare type RenameInfo = RenameInfoSuccess | RenameInfoFailure; + declare type RenameInfoSuccess = { + canRename: true, + fileToRename?: string, + displayName: string, + fullDisplayName: string, + kind: $Values, + kindModifiers: string, + triggerSpan: TextSpan + }; + + declare type RenameInfoFailure = { + canRename: false, + localizedErrorMessage: string + }; + + declare type RenameInfoOptions = { + +allowRenameOfImportPath?: boolean + }; + + declare type SignatureHelpParameter = { + name: string, + documentation: SymbolDisplayPart[], + displayParts: SymbolDisplayPart[], + isOptional: boolean + }; + + declare type SignatureHelpItem = { + isVariadic: boolean, + prefixDisplayParts: SymbolDisplayPart[], + suffixDisplayParts: SymbolDisplayPart[], + separatorDisplayParts: SymbolDisplayPart[], + parameters: SignatureHelpParameter[], + documentation: SymbolDisplayPart[], + tags: JSDocTagInfo[] + }; + + declare type SignatureHelpItems = { + items: SignatureHelpItem[], + applicableSpan: TextSpan, + selectedItemIndex: number, + argumentIndex: number, + argumentCount: number + }; + + declare type CompletionInfo = { + isGlobalCompletion: boolean, + isMemberCompletion: boolean, + isNewIdentifierLocation: boolean, + entries: CompletionEntry[] + }; + + declare type CompletionEntry = { + name: string, + kind: $Values, + kindModifiers?: string, + sortText: string, + insertText?: string, + replacementSpan?: TextSpan, + hasAction?: true, + source?: string, + isRecommended?: true + }; + + declare type CompletionEntryDetails = { + name: string, + kind: $Values, + kindModifiers: string, + displayParts: SymbolDisplayPart[], + documentation?: SymbolDisplayPart[], + tags?: JSDocTagInfo[], + codeActions?: CodeAction[], + source?: SymbolDisplayPart[] + }; + + declare type OutliningSpan = { + textSpan: TextSpan, + hintSpan: TextSpan, + bannerText: string, + autoCollapse: boolean, + kind: $Values + }; + + declare var OutliningSpanKind: { + +Comment: "comment", // "comment" + +Region: "region", // "region" + +Code: "code", // "code" + +Imports: "imports" // "imports" + }; + + declare var OutputFileType: { + +JavaScript: 0, // 0 + +SourceMap: 1, // 1 + +Declaration: 2 // 2 + }; + + declare var EndOfLineState: { + +None: 0, // 0 + +InMultiLineCommentTrivia: 1, // 1 + +InSingleQuoteStringLiteral: 2, // 2 + +InDoubleQuoteStringLiteral: 3, // 3 + +InTemplateHeadOrNoSubstitutionTemplate: 4, // 4 + +InTemplateMiddleOrTail: 5, // 5 + +InTemplateSubstitutionPosition: 6 // 6 + }; + + declare var TokenClass: { + +Punctuation: 0, // 0 + +Keyword: 1, // 1 + +Operator: 2, // 2 + +Comment: 3, // 3 + +Whitespace: 4, // 4 + +Identifier: 5, // 5 + +NumberLiteral: 6, // 6 + +BigIntLiteral: 7, // 7 + +StringLiteral: 8, // 8 + +RegExpLiteral: 9 // 9 + }; + + declare type ClassificationResult = { + finalLexState: $Values, + entries: ClassificationInfo[] + }; + + declare type ClassificationInfo = { + length: number, + classification: $Values + }; + + declare type Classifier = { + getClassificationsForLine( + text: string, + lexState: $Values, + syntacticClassifierAbsent: boolean + ): ClassificationResult, + getEncodedLexicalClassifications( + text: string, + endOfLineState: $Values, + syntacticClassifierAbsent: boolean + ): Classifications + }; + + declare var ScriptElementKind: { + +unknown: "", // "" + +warning: "warning", // "warning" + +keyword: "keyword", // "keyword" + +scriptElement: "script", // "script" + +moduleElement: "module", // "module" + +classElement: "class", // "class" + +localClassElement: "local class", // "local class" + +interfaceElement: "interface", // "interface" + +typeElement: "type", // "type" + +enumElement: "enum", // "enum" + +enumMemberElement: "enum member", // "enum member" + +variableElement: "var", // "var" + +localVariableElement: "local var", // "local var" + +functionElement: "function", // "function" + +localFunctionElement: "local function", // "local function" + +memberFunctionElement: "method", // "method" + +memberGetAccessorElement: "getter", // "getter" + +memberSetAccessorElement: "setter", // "setter" + +memberVariableElement: "property", // "property" + +constructorImplementationElement: "constructor", // "constructor" + +callSignatureElement: "call", // "call" + +indexSignatureElement: "index", // "index" + +constructSignatureElement: "construct", // "construct" + +parameterElement: "parameter", // "parameter" + +typeParameterElement: "type parameter", // "type parameter" + +primitiveType: "primitive type", // "primitive type" + +label: "label", // "label" + +alias: "alias", // "alias" + +constElement: "const", // "const" + +letElement: "let", // "let" + +directory: "directory", // "directory" + +externalModuleName: "external module name", // "external module name" + +jsxAttribute: "JSX attribute", // "JSX attribute" + +string: "string" // "string" + }; + + declare var ScriptElementKindModifier: { + +none: "", // "" + +publicMemberModifier: "public", // "public" + +privateMemberModifier: "private", // "private" + +protectedMemberModifier: "protected", // "protected" + +exportedModifier: "export", // "export" + +ambientModifier: "declare", // "declare" + +staticModifier: "static", // "static" + +abstractModifier: "abstract", // "abstract" + +optionalModifier: "optional", // "optional" + +dtsModifier: ".d.ts", // ".d.ts" + +tsModifier: ".ts", // ".ts" + +tsxModifier: ".tsx", // ".tsx" + +jsModifier: ".js", // ".js" + +jsxModifier: ".jsx", // ".jsx" + +jsonModifier: ".json" // ".json" + }; + + declare var ClassificationTypeNames: { + +comment: "comment", // "comment" + +identifier: "identifier", // "identifier" + +keyword: "keyword", // "keyword" + +numericLiteral: "number", // "number" + +bigintLiteral: "bigint", // "bigint" + +operator: "operator", // "operator" + +stringLiteral: "string", // "string" + +whiteSpace: "whitespace", // "whitespace" + +text: "text", // "text" + +punctuation: "punctuation", // "punctuation" + +className: "class name", // "class name" + +enumName: "enum name", // "enum name" + +interfaceName: "interface name", // "interface name" + +moduleName: "module name", // "module name" + +typeParameterName: "type parameter name", // "type parameter name" + +typeAliasName: "type alias name", // "type alias name" + +parameterName: "parameter name", // "parameter name" + +docCommentTagName: "doc comment tag name", // "doc comment tag name" + +jsxOpenTagName: "jsx open tag name", // "jsx open tag name" + +jsxCloseTagName: "jsx close tag name", // "jsx close tag name" + +jsxSelfClosingTagName: "jsx self closing tag name", // "jsx self closing tag name" + +jsxAttribute: "jsx attribute", // "jsx attribute" + +jsxText: "jsx text", // "jsx text" + +jsxAttributeStringLiteralValue: "jsx attribute string literal value" // "jsx attribute string literal value" + }; + + declare var ClassificationType: { + +comment: 1, // 1 + +identifier: 2, // 2 + +keyword: 3, // 3 + +numericLiteral: 4, // 4 + +operator: 5, // 5 + +stringLiteral: 6, // 6 + +regularExpressionLiteral: 7, // 7 + +whiteSpace: 8, // 8 + +text: 9, // 9 + +punctuation: 10, // 10 + +className: 11, // 11 + +enumName: 12, // 12 + +interfaceName: 13, // 13 + +moduleName: 14, // 14 + +typeParameterName: 15, // 15 + +typeAliasName: 16, // 16 + +parameterName: 17, // 17 + +docCommentTagName: 18, // 18 + +jsxOpenTagName: 19, // 19 + +jsxCloseTagName: 20, // 20 + +jsxSelfClosingTagName: 21, // 21 + +jsxAttribute: 22, // 22 + +jsxText: 23, // 23 + +jsxAttributeStringLiteralValue: 24, // 24 + +bigintLiteral: 25 // 25 + }; + + declare function createClassifier(): Classifier; + + declare type DocumentRegistry = { + acquireDocument( + fileName: string, + compilationSettings: CompilerOptions, + scriptSnapshot: IScriptSnapshot, + version: string, + scriptKind?: $Values + ): SourceFile, + acquireDocumentWithKey( + fileName: string, + path: Path, + compilationSettings: CompilerOptions, + key: DocumentRegistryBucketKey, + scriptSnapshot: IScriptSnapshot, + version: string, + scriptKind?: $Values + ): SourceFile, + updateDocument( + fileName: string, + compilationSettings: CompilerOptions, + scriptSnapshot: IScriptSnapshot, + version: string, + scriptKind?: $Values + ): SourceFile, + updateDocumentWithKey( + fileName: string, + path: Path, + compilationSettings: CompilerOptions, + key: DocumentRegistryBucketKey, + scriptSnapshot: IScriptSnapshot, + version: string, + scriptKind?: $Values + ): SourceFile, + getKeyForCompilationSettings( + settings: CompilerOptions + ): DocumentRegistryBucketKey, + releaseDocument( + fileName: string, + compilationSettings: CompilerOptions + ): void, + releaseDocumentWithKey(path: Path, key: DocumentRegistryBucketKey): void, + reportStats(): string + }; + + declare type DocumentRegistryBucketKey = string & { + __bucketKey: any + }; + declare function createDocumentRegistry( + useCaseSensitiveFileNames?: boolean, + currentDirectory?: string + ): DocumentRegistry; + + declare function preProcessFile( + sourceText: string, + readImportFiles?: boolean, + detectJavaScriptImports?: boolean + ): PreProcessedFileInfo; + + declare type TranspileOptions = { + compilerOptions?: CompilerOptions, + fileName?: string, + reportDiagnostics?: boolean, + moduleName?: string, + renamedDependencies?: MapLike, + transformers?: CustomTransformers + }; + + declare type TranspileOutput = { + outputText: string, + diagnostics?: Diagnostic[], + sourceMapText?: string + }; + + declare function transpileModule( + input: string, + transpileOptions: TranspileOptions + ): TranspileOutput; + + declare function transpile( + input: string, + compilerOptions?: CompilerOptions, + fileName?: string, + diagnostics?: Diagnostic[], + moduleName?: string + ): string; + + declare function generateTypesForModule( + name: string, + moduleValue: mixed, + formatSettings: FormatCodeSettings + ): string; + + declare function generateTypesForGlobal( + name: string, + globalValue: mixed, + formatSettings: FormatCodeSettings + ): string; + + declare var servicesVersion: any; // "0.8"; + declare function toEditorSettings( + options: EditorOptions | EditorSettings + ): EditorSettings; + + declare function displayPartsToString( + displayParts: SymbolDisplayPart[] | void + ): string; + + declare function getDefaultCompilerOptions(): CompilerOptions; + + declare function getSupportedCodeFixes(): string[]; + + declare function createLanguageServiceSourceFile( + fileName: string, + scriptSnapshot: IScriptSnapshot, + scriptTarget: $Values, + version: string, + setNodeParents: boolean, + scriptKind?: $Values + ): SourceFile; + + declare var disableIncrementalParsing: boolean; + declare function updateLanguageServiceSourceFile( + sourceFile: SourceFile, + scriptSnapshot: IScriptSnapshot, + version: string, + textChangeRange: TextChangeRange | void, + aggressiveChecks?: boolean + ): SourceFile; + + declare function createLanguageService( + host: LanguageServiceHost, + documentRegistry?: DocumentRegistry, + syntaxOnly?: boolean + ): LanguageService; + + declare function getDefaultLibFilePath(options: CompilerOptions): string; + + declare function transform( + source: T | T[], + transformers: TransformerFactory[], + compilerOptions?: CompilerOptions + ): TransformationResult; + declare type ActionSet = "action::set"; + declare type ActionInvalidate = "action::invalidate"; + declare type ActionPackageInstalled = "action::packageInstalled"; + declare type ActionValueInspected = "action::valueInspected"; + declare type EventTypesRegistry = "event::typesRegistry"; + declare type EventBeginInstallTypes = "event::beginInstallTypes"; + declare type EventEndInstallTypes = "event::endInstallTypes"; + declare type EventInitializationFailed = "event::initializationFailed"; + declare type TypingInstallerResponse = { + +kind: + | ActionSet + | ActionInvalidate + | EventTypesRegistry + | ActionPackageInstalled + | ActionValueInspected + | EventBeginInstallTypes + | EventEndInstallTypes + | EventInitializationFailed + }; + + declare type TypingInstallerRequestWithProjectName = { + +projectName: string + }; + + declare type DiscoverTypings = { + ...$Exact, + + +fileNames: string[], + +projectRootPath: Path, + +compilerOptions: CompilerOptions, + +typeAcquisition: TypeAcquisition, + +unresolvedImports: SortedReadonlyArray, + +cachePath?: string, + +kind: "discover" + }; + + declare type CloseProject = { + ...$Exact, + + +kind: "closeProject" + }; + + declare type TypesRegistryRequest = { + +kind: "typesRegistry" + }; + + declare type InstallPackageRequest = { + ...$Exact, + + +kind: "installPackage", + +fileName: Path, + +packageName: string, + +projectRootPath: Path + }; + + declare type PackageInstalledResponse = { + ...$Exact, + + +kind: ActionPackageInstalled, + +success: boolean, + +message: string + }; + + declare type InitializationFailedResponse = { + ...$Exact, + + +kind: EventInitializationFailed, + +message: string + }; + + declare type ProjectResponse = { + ...$Exact, + + +projectName: string + }; + + declare type InvalidateCachedTypings = { + ...$Exact, + + +kind: ActionInvalidate + }; + + declare type InstallTypes = { + ...$Exact, + + +kind: EventBeginInstallTypes | EventEndInstallTypes, + +eventId: number, + +typingsInstallerVersion: string, + +packagesToInstall: $ReadOnlyArray + }; + + declare type BeginInstallTypes = { + ...$Exact, + + +kind: EventBeginInstallTypes + }; + + declare type EndInstallTypes = { + ...$Exact, + + +kind: EventEndInstallTypes, + +installSuccess: boolean + }; + + declare type SetTypings = { + ...$Exact, + + +typeAcquisition: TypeAcquisition, + +compilerOptions: CompilerOptions, + +typings: string[], + +unresolvedImports: SortedReadonlyArray, + +kind: ActionSet + }; +} diff --git a/flow-typed/npm/typescript_vx.x.x.js b/flow-typed/npm/typescript_vx.x.x.js deleted file mode 100644 index 04a8a6ba..00000000 --- a/flow-typed/npm/typescript_vx.x.x.js +++ /dev/null @@ -1,81 +0,0 @@ -// flow-typed signature: cff874befd029dd669adedfc6d71fecb -// flow-typed version: <>/typescript_v3.4.5/flow_v0.98.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'typescript' - * - * 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 'typescript' { - 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 'typescript/lib/cancellationToken' { - declare module.exports: any; -} - -declare module 'typescript/lib/tsc' { - declare module.exports: any; -} - -declare module 'typescript/lib/tsserver' { - declare module.exports: any; -} - -declare module 'typescript/lib/tsserverlibrary' { - declare module.exports: any; -} - -declare module 'typescript/lib/typescript' { - declare module.exports: any; -} - -declare module 'typescript/lib/typescriptServices' { - declare module.exports: any; -} - -declare module 'typescript/lib/typingsInstaller' { - declare module.exports: any; -} - -declare module 'typescript/lib/watchGuard' { - declare module.exports: any; -} - -// Filename aliases -declare module 'typescript/lib/cancellationToken.js' { - declare module.exports: $Exports<'typescript/lib/cancellationToken'>; -} -declare module 'typescript/lib/tsc.js' { - declare module.exports: $Exports<'typescript/lib/tsc'>; -} -declare module 'typescript/lib/tsserver.js' { - declare module.exports: $Exports<'typescript/lib/tsserver'>; -} -declare module 'typescript/lib/tsserverlibrary.js' { - declare module.exports: $Exports<'typescript/lib/tsserverlibrary'>; -} -declare module 'typescript/lib/typescript.js' { - declare module.exports: $Exports<'typescript/lib/typescript'>; -} -declare module 'typescript/lib/typescriptServices.js' { - declare module.exports: $Exports<'typescript/lib/typescriptServices'>; -} -declare module 'typescript/lib/typingsInstaller.js' { - declare module.exports: $Exports<'typescript/lib/typingsInstaller'>; -} -declare module 'typescript/lib/watchGuard.js' { - declare module.exports: $Exports<'typescript/lib/watchGuard'>; -} diff --git a/flow-typed/npm/validate-commit-msg_vx.x.x.js b/flow-typed/npm/validate-commit-msg_vx.x.x.js index 76e2386f..3284dbe4 100644 --- a/flow-typed/npm/validate-commit-msg_vx.x.x.js +++ b/flow-typed/npm/validate-commit-msg_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 8170afd4504bda95f133a3e1aee84aa7 -// flow-typed version: <>/validate-commit-msg_v^2.14.0/flow_v0.98.0 +// flow-typed signature: 3171107e9ab9f3d93718e67d045d60ab +// flow-typed version: <>/validate-commit-msg_v^2.14.0/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/vinyl-fs_vx.x.x.js b/flow-typed/npm/vinyl-fs_vx.x.x.js index fdac542c..d24765ba 100644 --- a/flow-typed/npm/vinyl-fs_vx.x.x.js +++ b/flow-typed/npm/vinyl-fs_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: dc42220fd47e405ae05a29de5afd4f5a -// flow-typed version: <>/vinyl-fs_v^3.0.2/flow_v0.98.0 +// flow-typed signature: 1e54efdda2ba4f17e510c9fa9a980cbc +// flow-typed version: <>/vinyl-fs_v^3.0.2/flow_v0.101.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/vinyl_vx.x.x.js b/flow-typed/npm/vinyl_vx.x.x.js index 5e456bc2..8176b090 100644 --- a/flow-typed/npm/vinyl_vx.x.x.js +++ b/flow-typed/npm/vinyl_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 356c54f9eaea950200103c0552fcb060 -// flow-typed version: <>/vinyl_v^2.2.0/flow_v0.98.0 +// flow-typed signature: 8548deefa8e7f5fa2a08051b66b1e2fd +// flow-typed version: <>/vinyl_v^2.2.0/flow_v0.101.0 /** * This is an autogenerated libdef stub for: