Skip to content

Move over some of the new handbook TSConfig docs #119

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

Merged
merged 2 commits into from
Nov 11, 2019
Merged

Move over some of the new handbook TSConfig docs #119

merged 2 commits into from
Nov 11, 2019

Conversation

orta
Copy link
Contributor

@orta orta commented Nov 9, 2019

Moves in existing copy for TSConfig examples, doesn't touch them, will keep that new repo as source of truth until this feels presentable.

Interesting aside: There are three competing standards for how we could do metadata for code samples.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2019

Messages
📖

Deployed to a PR branch - tsconfig old handbook

Got false positives?

Make changes to the global settings spellcheck.json in /artsy/peril-settings.

Typos for target.md

Line Typo
5 ault), ES5, ES6/ES2015 (synonomous), ES7/ES2016, ES2017, `
10 changes which JS features are downleveled or left intact.

Typos for strict.md

Line Typo
7 a wide range of type checking behavior that results in stronger guar
12 will be added to disable that behavior.

Typos for sourceMap.md

Line Typo
5 Enables the generation of [sourcemap files](https://developer.mozi
9 files will in turn contain a sourcemap comment to indicate to tools

Typos for outFile.md

Line Typo
10 on cannot be used to bundle CommonJS or ES6 modules.

Typos for outDir.md

Line Typo
6 rce files is preserved; see [[rootDir]] if the computed root is not

Typos for out.md

Line Typo
5 ted:** Do not use this. Use [[outFile]] instead

Typos for noImplicitUseStrict.md

Line Typo
7 n emitting a module file to a non-ES6 target, TypeScript emits a `"

Typos for lib.md

Line Typo
12 pt API objects (maybe through polyfills), but doesn't yet support the
13 * You have polyfills or native implementations for
24
24 Additional APIs available in ESNext
26
27
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

Typos for isolatedModules.md

Line Typo
10 interpreted by a single-file transpilation process.
11 It does not change the behavior of your code, or otherwise ch
11 code, or otherwise change the behavior of TypeScript's checking and

Typos for inlineSourceMap.md

Line Typo
7 t want to debug JS files on a webserver that doesn't allow .map fil

Typos for importHelpers.md

Line Typo
5 For certain downleveling operations, TypeScript uses s
5 spreading arrays/objects, and async operations.
9 re instead imported from the [tslib](https://www.npmjs.com/packag
37 d of importing helpers with [[importHelpers]], you can provide implementa

Typos for downlevelIteration.md

Line Typo
12 r / ofloop on any object is **downleveled** to a traditionalfor` loop:
23 % compliant with ECMAScript 6 behavior.
27 lementation (either native or polyfill).
51 escription, it sounds easy to downlevel to ES5:
59 l create an own property if spreaded, but will not if built using
73 more accurately emulate ES 6 behavior.

Typos for charset.md

Line Typo
8 t UTF-16 (BE and LE) or UTF-8 BOMs.

Typos for README.md

Line Typo
1 ### Generating the TSConfig Reference
3 ts multi-lingual docs for the TSConfig. As much as possible is based
27 The TSConfig reference is created by a two
30 cs which are picked up by the typescriptlang-org Gatsby site at `http://localh

Typos for README.md

Line Typo
15 ## TypeScriptLang-Org
40 ## TSConfig Reference
42 hensive API reference for the TSConfig JSON file.
50 you submit a pull request, a CLA-bot will automatically determine
56 contact [opencode@microsoft.com](mailto:
56 contact [opencode@microsoft.com](mailto:openc
56 contact [opencode@microsoft.com](mailto:opencode@microsoft.co

Lighthouse Scores

/
Performance Accessibility Best Practices SEO Progressive Web App
0.98 0.85 0.93 0.82 0.52
/tsconfig
Performance Accessibility Best Practices SEO Progressive Web App
0.92 0.9 1 0.8 0.52
/docs/handbook/integrating-with-build-tools.html
Performance Accessibility Best Practices SEO Progressive Web App
0.97 0.9 1 0.71 0.52

Snapshots updated

backstop_default_TSConfig_Example_0_viewport_0_phone.png
Before After
backstop_default_TSConfig_Example_0_viewport_1_tablet.png
Before After
backstop_default_TSConfig_Example_0_viewport_2_computer.png
Before After

Generated by 🚫 dangerJS against 0a26d75

@orta
Copy link
Contributor Author

orta commented Nov 11, 2019

This one is non-controversial

@orta orta merged commit 5bb3c2c into v2 Nov 11, 2019
@jakebailey jakebailey deleted the tsconfig-meta branch May 17, 2024 22:04
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.

1 participant