Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with TypeScript-Website @ c6fcbb32 #68

Closed
wants to merge 10 commits into from
Closed

Conversation

SyncDocsBot
Copy link
Contributor

合并自 https://github.com/microsoft/TypeScript-Website.git @ c6fcbb3
下面的文件存在冲突,请处理后合并:

不要 Squash 此 Pull Request!!!

Copy link

vercel bot commented Jul 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ts-zh-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2024 1:34am

Copy link
Contributor

Got false positives?

Make changes to the global settings spellcheck.json in /microsoft/TypeScript-Website.

Make changes to this repo's settings in spellcheck.json.

Typos for tame-garlics-shop.md

Line Typo
5 Adds deleteFile to the vfs api to which allows file to b
5 Adds deleteFile to the vfs api to which allows file to be re

Typos for many-avocados-learn.md

Line Typo
5 Use System's getDirectories if it's provided when constru

Typos for JSX.md

Line Typo
92 Preact uses the JSX factory h. Tha
135 However, if this interface is present, then the name of the
517 flag and via inline per-file pragmas. To learn more see their tsco

Typos for Compiler Options.md

Line Typo
58 --generateTrace
76 --init
85 --listFilesOnly
112 --showConfig
164 r deleted, if specified with '--clean')

215 /tsconfig/#fallbackPolling'>--fallbackPolling
216 e>fixedinterval, priorityinterval, dynamicpriority
216 riorityinterval, dynamicpriority, or fixedchunksi
224 #synchronousWatchDirectory'>--synchronousWatchDirectory
229 ry watchers on platforms that don`t support recursive watching natively.

1487 sconfig.json`](/docs/handbook/tsconfig-json.html) file.
1488 - Learn how to work in an [MSBuild project](/docs/handbook/compi

Typos for Reference.md

Line Typo
14 ed in TypeScript files and/or JSDoc comments.
18 Type aliases, interfaces, enums, and namespaces can be export
105 This is especially useful in JSDoc comments in JavaScript files,
116 Script files can use a direct analog of module.exports = ... and
208 re intended to run in Node.js v12 or later, whether they use ES
218 pe": "module"` to the project package.json.
273 re intended to run in Node.js v12 or later, whether they use ES
281 preserved in the output, and CommonJS-style import x = require("...") a
283 e capabilities of most modern bundlers, as well as the Bun runtime.
318 moduleResolution bundler` for bundlers, Bun, and tsx.
319 - Do not use for Node.js. Use node16 or nodenext wi
319 e.json to emit ES modules for Node.js.
354 to emit CommonJS modules for Node.js.
415 - Designed for use with the [SystemJS module loader](https://github
457 Designed for AMD loaders like RequireJS.
544 n file with the same name and analagous file extension.
590 even though some runtimes and bundlers do.
614 browser before ESM existed or bundlers were widely used), it still h
632 so common for apps built with bundlers to define convenience path al
669 # paths should not point to monorepo packages or node_modules pack
669 point to monorepo packages or node_modules packages
686 s referencing each other in a monorepo. Instead of using paths to
686 com/en/docs/workspaces/), or [pnpm](https://pnpm.io/workspaces)
686 s especially important if the monorepo packages will be published to
724 ##### Fallbacks
750 node_modules` subdirectories. Bundlers conveniently adopted this beh
750 ependencies, as they would in Node.js. All of TypeScript’s `moduleRe
771 e of "exports" prevents any subpaths not explicitly listed or matc
773 ##### Example: subpaths, conditions, and extension su
869 ##### Example: subpath patterns
897 mple: "exports" block other subpaths
913 package root? No, it has a subpath dist/index.js.
916 orts"` prevents resolving any subpaths that cannot be matched throug
920 s` packages, according to the subpath being resolved. This allows p
920 ersions (through a tool like [downlevel-dts](https://github.com/sandersn/
944 4. Are we resolving a subpath after the package name? **No,
971 4. Are we resolving a subpath after the package name? **No,
979 ule specifier does not have a subpath after the package name or pac
991 agejson-typesversions) apply, subpaths of a bare package specifier r
1004 the "exports" field of that package.json. Both of these features allow
1057 node_modules` dependency with subpath pattern
1092 esolution behavior of Node.js v12 and later. (node16 and `nod
1096 d compatibility with existing CommonJS-format type declarations):
1135 ior common to most JavaScript bundlers. In short, this means support
1135 this means supporting all the behaviors traditionally associated with
1148 n combination with --noEmitbundlers typically process raw .ts f
1177 Node.js versions earlier than v12. It should no longer be used.

Generated by 🚫 dangerJS against c6fcbb3

@awxiaoxian2020 awxiaoxian2020 deleted the sync-c6fcbb32 branch July 19, 2024 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants