diff --git a/dev_docs/getting_started/troubleshooting.mdx b/dev_docs/getting_started/troubleshooting.mdx index cb0e1bad1bef5..fb283b92a5e75 100644 --- a/dev_docs/getting_started/troubleshooting.mdx +++ b/dev_docs/getting_started/troubleshooting.mdx @@ -14,7 +14,7 @@ When switching branches, sometimes the TypeScript cache can get mixed up and sho 1. Build TypeScript references with the clean command. ``` -node scripts/build_ts_refs --clean +node scripts/type_check.js --clean-cache ``` 2. Restore your repository to a totally fresh state by running `git clean` diff --git a/packages/kbn-ts-type-check-cli/root_refs_config.ts b/packages/kbn-ts-type-check-cli/root_refs_config.ts index d73634ce8dbc3..c2d02a54ff2d3 100644 --- a/packages/kbn-ts-type-check-cli/root_refs_config.ts +++ b/packages/kbn-ts-type-check-cli/root_refs_config.ts @@ -35,7 +35,7 @@ async function isRootRefsConfigSelfManaged() { function generateTsConfig(refs: string[]) { return dedent` - // This file is automatically updated when you run \`node scripts/build_ts_refs\`. + // This file is automatically updated when you run \`node scripts/type_check\`. { "include": [], "references": [ diff --git a/x-pack/plugins/rule_registry/docs/README.md b/x-pack/plugins/rule_registry/docs/README.md index 0eb2463005193..74823de8a2b47 100644 --- a/x-pack/plugins/rule_registry/docs/README.md +++ b/x-pack/plugins/rule_registry/docs/README.md @@ -40,5 +40,5 @@ If you run into tsc errors that seem unrelated to the cases plugin try executing ```bash cd npx yarn kbn bootstrap -node scripts/build_ts_refs.js --clean --no-cache +node scripts/type_check.js --clean-cache ```