Update TypeScript completion to version 5.8
patch note: https://devblogs.microsoft.com/typescript/announcing-typescript-5-8/
This commit is contained in:
parent
ee50f24411
commit
42e9e1e563
6
src/_tsc
6
src/_tsc
|
@ -24,7 +24,7 @@
|
||||||
# Description
|
# Description
|
||||||
# -----------
|
# -----------
|
||||||
#
|
#
|
||||||
# Completion script for tsc v5.6.3. (https://www.typescriptlang.org/)
|
# Completion script for tsc v5.8.2. (https://www.typescriptlang.org/)
|
||||||
#
|
#
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Authors
|
# Authors
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
local -a module_types=(
|
local -a module_types=(
|
||||||
none commonjs amd umd system es6/es2015 es2020 es2022 esnext node16 nodenext preserve
|
none commonjs amd umd system es6/es2015 es2020 es2022 esnext node16 node18 nodenext preserve
|
||||||
)
|
)
|
||||||
|
|
||||||
local -a bundle_libraries=(
|
local -a bundle_libraries=(
|
||||||
|
@ -189,6 +189,8 @@ local -a opts=(
|
||||||
'--synchronousWatchDirectory[Synchronously call callbacks and update the state of directory watchers on platforms]'
|
'--synchronousWatchDirectory[Synchronously call callbacks and update the state of directory watchers on platforms]'
|
||||||
'--excludeDirectories[Remove a list of directories from the watch process]:dirs:_files -/'
|
'--excludeDirectories[Remove a list of directories from the watch process]:dirs:_files -/'
|
||||||
"--excludeFiles[Remove a list of files from the watch mode's processing]:files:_files"
|
"--excludeFiles[Remove a list of files from the watch mode's processing]:files:_files"
|
||||||
|
"--libReplacement[Enable library replacement]:boolean:(true false)"
|
||||||
|
"--erasableSyntaxOnly[Ensures that runtime constructs which are not part of ECMAScript are not allowed]:boolean:(true false)"
|
||||||
'*:: :_files' \
|
'*:: :_files' \
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue