Using the Compiler API
Josh Goldberg ✨ редактировал(а) эту страницу 2023-10-06 01:36:32 +02:00

Версии страницы вики

86 Коммитов

Автор SHA1 Сообщение Дата
Josh Goldberg ✨ 968a685f27
Added 'Type Checker APIs' section prefix to type checker docs (#320)
* Added 'Type Checker APIs' section prefix to type checker docs

* Apply suggestions from code review

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>

---------

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-10-05 16:36:32 -07:00
Daniel Rosenwasser 167d197d29 Updated Using the Compiler API (markdown) 2021-05-27 15:35:56 -07:00
Daniel Rosenwasser f37ac94bed Updated Using the Compiler API (markdown) 2021-05-27 15:35:34 -07:00
Dragos Rotaru 38206fde05
Updated wiki example to match TypeScript 4.2.3
All examples tested with version 4.2.3. The correction I have made has also been tested with the current latest master branch source (ec77bff332).
2021-03-17 17:22:04 -07:00
Pavan Bellamkonda e1b6cd935d Update example for Creating and Printing AST section 2021-02-07 00:02:13 +05:30
Leo Wang 606ea7ed95 Getting the DTS from a JavaScript file example should replace .js to .d.ts 2020-11-20 18:16:16 +08:00
Orta Therox 45bae8b0b6
Merge pull request #251 from emilgoldsmith/patch-1
Fix bug in code example
2020-09-10 14:45:39 -04:00
Orta Therox 43dbc016b5
Merge pull request #252 from beshanoe/patch-1
Fix non-complete implementation of a language service
2020-09-10 14:45:14 -04:00
Ryan Ling d34292ff43
Fix typo in Using the Compiler API 2020-06-21 11:51:32 +10:00
Maxim 7a88664eb8
Fix non-complete implementation of a language service 2020-03-24 09:45:31 +00:00
Emil Goldsmith Olesen 3808551abd
Fix bug in code example 2020-03-08 21:17:11 +00:00
leehao 6cb584abd0
Update Using-the-Compiler-API.md
fix spelling mistake
2020-01-13 15:52:30 +08:00
Orta Therox 61446a8e81 Add docs to run it locally 2019-12-15 11:17:52 +00:00
Orta Therox 1907c50024 Improve the compiler API section 2019-11-30 09:32:10 -05:00
Orta 6714c099e0
Merge pull request #185 from bdurrani/type-checker-sample-fix
fixed broken sample code
2019-06-19 07:08:53 -07:00
Samuel Marks a770f93442
Using-the-Compiler-API.md: linting 2018-12-18 15:24:33 +11:00
Bilal Durrani fdac0fd80f cast using as
- update as per feedback
2018-10-05 20:44:16 -04:00
Bilal Durrani 8e7d4bd1c8 fixed broken sample code
fixed some errors in the sample code. tested using v3.0.3
2018-10-01 22:03:14 -04:00
guidojo 8b851d058f Use prettier for code examples that have a too long width
Max-width is set to 84, since that is what github pages can handle best.
2018-06-29 10:40:32 +02:00
Daniel Rosenwasser b421753bf1
Update builder sample and docs. 2018-05-15 18:11:27 -07:00
Daniel Rosenwasser 0e11de0ec7
Provide an example of the watcher API 2018-02-06 21:17:16 -08:00
Azharuddin 0d41a84a8f Changed link to lib/typescript.d.ts 2018-01-17 14:57:11 +05:30
Azharuddin d4ac6574d9 Added link reference to ts.syntaxKind. I
had to lookup the source code to find this. I hope it'll help others too
2018-01-14 05:55:29 +05:30
Zachary Foster 098641bd67
Fixes typos in Using-the-Compiler-API.md 2018-01-09 15:49:38 -05:00
Mohamed Hegazy ac8f7eb33e handle missing file in diagnostics 2017-10-19 17:15:35 -07:00
Mohamed Hegazy 70e111a532 - use @types/node
- Remove reference to typings/node/node.d.ts
- Compile with --strict
- Remove 1.4 note
- Fix https://github.com/Microsoft/TypeScript/issues/19148, by adding getDirectories
2017-10-19 13:41:21 -07:00
Daniel Rosenwasser f998f4905d Merge pull request #138 from geekgonecrazy/patch-1
fix spelling of "information" in compiler api doc
2017-06-21 17:12:58 -07:00
Daniel Rosenwasser 00138723bc Updated Using the Compiler API (markdown) 2017-06-19 17:20:03 -07:00
Aaron Ogle ff8ceac2d7 fix spelling of information on comment 2017-06-16 20:32:49 -05:00
Ryan Berdeen 940894b82f Fix formatting in disclaimer 2017-06-05 21:47:04 -04:00
Daniel Rosenwasser 8b3d931d3a Added documentation on producing & printing an AST. 2017-05-15 14:07:15 -07:00
Gus Cost 6669f612fa fix incremental build example to use valid MapLike type 2017-03-23 19:30:03 -04:00
Mohamed Hegazy 08c04cb63b Fix typo 2016-10-26 12:49:38 -07:00
Mohamed Hegazy c2474b61f9 Remove un-exported uses of the formatting API 2016-10-26 12:49:08 -07:00
Daniel Rosenwasser 15573be582 Updated Using the Compiler API (markdown) 2016-08-17 19:09:32 -07:00
Samuel Marks ffbf61843c Typo fixes: paramter=>parameter 2016-05-01 20:17:57 +10:00
Stepan Mikhaylyuk e1e1748ad0 minor fix 2016-04-14 07:23:54 +03:00
Stepan Mikhaylyuk 7bda220ce8 minor fix 2016-04-14 06:06:03 +03:00
Mohamed Hegazy 903914c0f8 Review comments 2016-02-06 12:45:21 -08:00
Daniel Rosenwasser 647b557412 Edits from proofreading 2015-11-13 00:35:58 -08:00
Mohamed Hegazy 8bc7c8eadc Add a new API sample 2015-11-12 22:58:04 -08:00
Vladimir Matveev f1246c803d Updated Using the Compiler API (markdown) 2015-10-07 10:45:04 -07:00
Mohamed Hegazy 90d2c6e73c Updated Using the Compiler API (markdown) 2015-09-28 11:26:36 -07:00
Vladimir Matveev 4cf71d6468 Updated Using the Compiler API (markdown) 2015-09-28 08:50:17 -07:00
Vladimir Matveev 36fe82ec6d Updated Using the Compiler API (markdown) 2015-09-25 22:51:18 -07:00
Vladimir Matveev 0f7674a0c5 Updated Using the Compiler API (markdown) 2015-09-25 22:45:28 -07:00
Mohamed Hegazy 41ed5840f7 Updated Using the Compiler API (markdown) 2015-09-16 14:20:04 -07:00
Vladimir Matveev a019118697 Updated Using the Compiler API (markdown) 2015-09-15 12:46:27 -07:00
Hamlet D'Arcy 9b3f8408af Fixed misspelled words and small grammar issues 2015-09-02 22:02:25 +02:00
Daniel Rosenwasser d886c6e461 Updated Using the Compiler API (markdown) 2015-04-28 10:26:58 -07:00