A repository to make changes to the TypeScript Wiki on GitHub
Перейти к файлу
Matt Pocock 9cca185c92
Add `moduleResolution` `bundler` to FAQ answer (#337)
2024-09-05 09:55:44 -07:00
.github/workflows fix: usage of `node12 which is deprecated` (#335) 2024-07-13 09:49:39 -07:00
.vscode Add docs to run it locally 2019-12-15 11:17:52 +00:00
aspnet-screenshots Make the rectangle red. 2015-08-07 16:38:50 -07:00
codebase explain how control flow is not acyclic 2023-06-16 14:54:38 -07:00
debugging Outline how to use the new -generateTrace switch 2020-11-03 15:30:40 -08:00
dev-mode-screenshots Fix screenshot. 2015-01-21 15:03:04 -08:00
images Outline how to use the new -generateTrace switch 2020-11-03 15:30:40 -08:00
reference fix formatting 2023-07-28 08:43:30 -07:00
scripts Merge pull request #248 from Mobiletainment/patch-1 2020-01-28 15:38:40 +00:00
'this'-in-TypeScript.md Mention using `this` parameter in function signature 2018-08-29 15:28:54 +05:00
.gitignore Start migrating my tsc notes to the wiki 2019-12-10 18:00:41 -05:00
API-Breaking-Changes.md Mention tsserverlibrary change 2023-08-14 14:59:54 -07:00
All-The-Bots.md Updated All The Bots (markdown) 2024-02-05 10:00:42 -08:00
Architectural-Overview.md Fix typo: `complier` -> `compiler` (#322) 2024-07-13 08:03:47 -07:00
Blog-Post-Ideas.md Updated Blog Post Ideas (markdown) 2015-05-14 13:54:15 -07:00
Breaking-Changes.md Update Breaking-Changes.md (#332) 2024-06-16 09:01:10 -07:00
Cancellation-Support-in-tsserver.md Updated Cancellation Support in tsserver (markdown) 2016-10-13 23:24:36 -07:00
Coding-guidelines.md Updated Coding guidelines (markdown) 2021-05-24 18:31:13 -04:00
Common-Errors.md Update for migrating compiler info the the notes repo 2022-01-05 17:08:15 +00:00
Compiler-Internals.md Update for migrating compiler info the the notes repo 2022-01-05 17:08:15 +00:00
Compiler-Options.md Redirect to the official TS website 2016-03-24 12:19:10 -07:00
Configuring-MSBuild-projects-to-use-NuGet.md small typo 2016-06-23 20:47:26 -07:00
Contributing-to-TypeScript.md Update for migrating compiler info the the notes repo 2022-01-05 17:08:15 +00:00
Debugging-Language-Service-in-VS-Code.md Clarifications for debugging tsserver 2023-01-31 10:58:09 -08:00
Docker-Quickstart.md Note privileged runs in docker instructions 2021-05-27 22:00:32 -04:00
FAQ.md Add `moduleResolution` `bundler` to FAQ answer (#337) 2024-09-05 09:55:44 -07:00
FAQs-for-API-Consumers.md Not a pumping lemma pull request ... 2019-05-13 17:25:33 -04:00
Getting-logs-from-TS-Server-in-VS-Code.md Updated Getting logs from TS Server in VS Code (markdown) 2021-02-12 12:36:01 -08:00
Home.md Updated Home (markdown) 2021-03-23 13:39:41 +00:00
How-the-User-Tests-Work.md 3.1:Rename SymbolFlags.JSContainer->Assignment 2018-09-12 15:04:24 -07:00
How-to-maintain-Definitely-Typed-tests.md improve formatting and links 2022-11-09 16:47:32 -08:00
Integrating-with-Build-Tools.md Redirect to the official TS website 2016-03-24 16:12:06 -07:00
JSDoc-support-in-JavaScript.md Updated JSDoc support in JavaScript (markdown) 2019-07-28 07:32:39 -04:00
JSX.md Redirect to the official TS website 2016-03-24 13:24:51 -07:00
JavaScript-Language-Service-in-Visual-Studio.md Master -> main 2021-08-02 17:04:39 +01:00
LICENSE Adds a README and license 2019-11-13 12:16:53 -05:00
Nightly-drops.md Remove VS 2013/2015 section 2022-10-13 14:39:32 -07:00
No-New-Utility-Types.md Updated No New Utility Types (markdown) 2023-11-01 14:00:43 -07:00
Node-Target-Mapping.md Update Node 18 to reflect that it supports lib=ES2023 2024-05-23 16:44:53 -07:00
Performance-Tracing.md Update the tracing notes 2022-01-14 15:38:15 -08:00
Performance.md feat: add details re diagnostics 2024-03-17 22:16:45 -04:00
Preferred-Issue-Titles.md Updated Preferred Bug Titles (markdown) 2017-05-24 10:56:07 -07:00
Providing-Visual-Studio-Repro-Steps.md Updated Providing Visual Studio Repro Steps (markdown) 2018-04-13 13:03:39 -07:00
README.md Master -> main 2021-08-02 17:04:39 +01:00
Release-Activities.md Updated Release Activities (markdown) 2024-08-22 10:51:07 -07:00
Resources.md Updated Resources (markdown) 2017-09-27 15:29:23 -04:00
Roadmap.md Updated Roadmap (markdown) 2023-02-28 01:07:03 -08:00
SECURITY.md Microsoft mandatory file 2022-05-16 22:01:05 +00:00
Setting-Compiler-Options-in-MSBuild-projects.md Redirect to the official TS website 2016-03-24 13:28:06 -07:00
Spec conformance testing.md Reduce complexity, always sync 2020-09-10 09:18:09 -04:00
Standalone-Server-(tsserver).md Use non-broken link to protocol/commandTypes 2023-07-31 23:19:39 -07:00
Tooling-On-The-Compiler-Repo.md Update for migrating compiler info the the notes repo 2022-01-05 17:08:15 +00:00
Triage-Instructions.md Updated Triage Instructions (markdown) 2017-05-24 10:59:53 -07:00
Triggering-TypeScript-Bot.md Update bot commands 2024-05-23 10:41:38 -07:00
Type-Checking-JavaScript-Files.md Update for migrating compiler info the the notes repo 2022-01-05 17:08:15 +00:00
TypeScript's-Release-Process.md docs: added Bsky and Mastodon (Fosstodon) account mentions (#321) 2024-06-16 08:31:00 -07:00
TypeScript-Deployment.md Updated TypeScript Deployment (markdown) 2019-09-30 08:44:05 -04:00
TypeScript-Design-Goals.md Updated TypeScript Design Goals (markdown) 2020-02-26 18:54:38 -05:00
TypeScript-Editor-Support.md Updated description of NeoVim support 2022-06-29 19:31:51 -03:00
TypeScript-MSBuild-In-Depth.md correct typos 2018-06-21 14:07:28 +02:00
Typings-for-npm-packages.md update url for typings-for-npm-packages (#304) 2023-09-18 16:29:35 -07:00
Updating-TypeScript-in-Visual-Studio-2017.md Flipping the order of 15.2 and 15.3 instructions 2017-08-24 10:08:54 -07:00
Useful-Links-for-TypeScript-Issue-Management.md Fix typo in Useful-Links-for-TypeScript-Issue-Management.md 2020-12-14 19:09:06 -08:00
Using-TypeScript-With-ASP.NET-5.md Updated Using TypeScript With ASP.NET 5 (markdown) 2016-05-02 17:14:20 -07:00
Using-the-Compiler-API-(TypeScript-1.4).md Add docs to run it locally 2019-12-15 11:17:52 +00:00
Using-the-Compiler-API.md Added 'Type Checker APIs' section prefix to type checker docs (#320) 2023-10-05 16:36:32 -07:00
Using-the-Language-Service-API.md Closed issue, part of the text no longer needed 2020-05-21 09:16:29 +02:00
Using-the-New-Language-Service-in-Visual-Studio-15-Preview.md Updated Using the Salsa Preview in Visual Studio 15 Preview (markdown) 2017-10-16 11:27:16 -07:00
What's-new-in-TypeScript.md Updated What's new in TypeScript (markdown) 2019-10-10 08:21:09 -07:00
Writing-Good-Design-Proposals.md Fix link to typescript design goals 2017-06-15 13:12:51 +01:00
Writing-a-Language-Service-Plugin.md Update the TypeScript Real-world plugins list (#326) 2024-07-13 08:04:18 -07:00
_Footer.md Reduce complexity, always sync 2020-09-10 09:18:09 -04:00
_Sidebar.md Remove VS Dev mode from sidebar 2022-10-13 14:45:07 -07:00
package.json Escape the regex 2019-12-16 16:07:00 +00:00
tsconfig.json.md Update tsconfig.json.md 2016-05-10 16:34:51 -07:00

README.md

The TypeScript wiki

This repo is a mirror of the TypeScript wiki. Changes on either the wiki or this repo are immediately mirrored to the other side. This is done in a GitHub Action here, and another in the TS repo, and the main work is done by a sync script.

The wiki root is Home.md.

You can run this locally if you have ruby installed via:

# Install the deps
gem install gollum

# Start the server
gollum

Then you can open: http://localhost:4567

Things to remember:

  • Gollum is a bit of a nightmare for testing, my current technique is:

    # before
    git branch -b thing_i_am_working_on
    
    # to iterate, amend the commit and re-run gollum against that bit of git
    git add .; git commit --amend --no-edit --no-verify; gollum --ref thing_i_am_working_on
    
  • Wikis don't support nesting, so filenames have to get a bit wild

    - compiler/testing/fourslash.md
    + compiler-testing-fourslash.md
    
  • You can use a custom link syntax for references to TypeScript code which will be looked up at deploy time:

    link to [`runFourSlashTest`][0]
    
    [0]: <src/harness/fourslash.ts - function runFourSlashTest(>
    

    Will look at the file src/harness/fourslash.ts in microsoft/TypeScript to find the line of code function runFourSlashTest and provide a direct link in the wiki. You can audit them via the script npm run lint.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Legal Notices

Microsoft and any contributors grant you a license to the Microsoft documentation and other content in this repository under the Creative Commons Attribution 4.0 International Public License, see the LICENSE file, and grant you a license to any code in the repository under the MIT License, see the LICENSE-CODE file.

Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries. The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks. Microsoft's general trademark guidelines can be found at http://go.microsoft.com/fwlink/?LinkID=254653.

Privacy information can be found at https://privacy.microsoft.com/en-us/

Microsoft and any contributors reserve all other rights, whether under their respective copyrights, patents, or trademarks, whether by implication, estoppel or otherwise.