diff options
| author | Shulhan <ms@kilabit.info> | 2023-11-21 13:29:02 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-11-21 17:25:06 +0700 |
| commit | cdcd8b2d559bc367969aa531f32dd1f315d8b759 (patch) | |
| tree | cd717a20e2966803866dd752335bac7085ef844e /tsconfig.json | |
| parent | 8e424c716390ccf41221c526df8d7d5f44152ba1 (diff) | |
| download | pakakeh.ts-cdcd8b2d559bc367969aa531f32dd1f315d8b759.tar.xz | |
editor: replace execCommand with Selection
The execCommand has been deprecated according to Mozilla Developer
Network.
This changes require the tsc target set to es2019 to be able to
use the string trimEnd method.
[1]: https://developer.mozilla.org/en-US/docs/Web/API/document/execCommand
Diffstat (limited to 'tsconfig.json')
| -rw-r--r-- | tsconfig.json | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tsconfig.json b/tsconfig.json index 508e44b..d7fc0f4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,6 @@ { "compilerOptions": { - /* Visit https://aka.ms/tsconfig.json to read more about this file */ - "target": "es2018", + "target": "es2019", "module": "es2020", "isolatedModules": true, "esModuleInterop": true, |
