Commit Graph

15 Commits

Author SHA1 Message Date
Matt Bierner
1eee7ae230 Switch monaco to off of moduleResolution: classic
Fixes #270408

Trying to move some of the monaco related checks/tconfigs off of `moduleResolution: classic`. This legacy config is causing a lot of pain while trying to update the trusted-types typings, which is itself blocking picking up the latest dompurify

I initially tried a more scoped change but just could not get it working. So instead I ended up trying to rework our `LanguageServiceHost` to be more standard
2025-10-10 16:02:03 -07:00
Alex Dima
46035d0296 Split up the editor's worker and the editor worker helper scripts, remove AMD support 2025-03-20 18:37:55 +01:00
Henning Dieterichs
094e96a2ea Introduces IObservableWithChange so that typescript does not show the default type for TChange in hovers. (#236629)
* Introduces IObservableWithChange so that typescript does not show the default type for TChange in hovers.

This should make it easier to understand types when observables (potentially nested) are involved.

* Fixes monaco editor
2024-12-20 19:55:45 +01:00
Henning Dieterichs
b816a3ffaf Fixes CI 2023-04-26 23:31:20 +02:00
Matt Bierner
356d29fbf1 Remove most SyncDescriptorN forms (#141976)
* Remove most SyncDescriptorX forms

From what I can tell, `SyncDescriptor0` is the only one of these types still being used. In order to speed up TS's type checking around `createInstance`, I think it makes sense to remove the unused forms

* Remove `SyncDescriptorN` from tree shaker usages

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-02-02 13:45:05 -08:00
Alexandru Dima
27770ed1b5 Make type relationships more explicit to help the tree shaker 2019-11-13 11:15:37 +01:00
Alexandru Dima
898fbafa5b Make implements type relationships more explicit to help treeshaking 2019-11-13 11:15:37 +01:00
Peng Lyu
065aa24d35 Update monaco build recipt. 2019-07-25 13:01:36 -07:00
Alex Dima
afded16b6f Fix Microsoft/monaco-editor#1297 2019-03-02 02:35:12 +01:00
Alex Dima
add9437982 WorkbenchAsyncDataTree implements IThemable 2019-02-05 18:18:18 +01:00
Johannes Rieken
37327f7070 remove invalid promise references #65040 2018-12-14 09:50:27 +01:00
Johannes Rieken
a99079f13a remove winjs-based polyfill promse #53526 2018-12-13 10:14:42 +01:00
Alex Dima
d729e50521 Fix standalone editor gulp scripts.
Tree Shaking:
- do not proceed with tree shaking when there are compilation errors
- load .d.ts files in the language service
- adopt TS 3.1.1 in symbol resolution
- use the real tsconfig.json / with "node" resolution

Bundling:
- fix issue where files were being looked for in out-build instead of out-editor-build
2018-10-10 11:09:29 +02:00
Alex Dima
1241118728 Fix compilation errors 2018-08-12 15:48:06 +02:00
Alex Dima
09ec2eb1e4 Use the new optimize-editor task 2018-07-20 11:26:32 +02:00