Skip to content

Commit

Permalink
Update TypeScript keyword to TypeScript 5.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Aug 3, 2023
1 parent 3a43c55 commit 2a5a46f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ Latest development builds (artifacts in Release configuration for each compiler
* [GitHub Flavored Markdown](https://github.github.com/gfm/)
* [GitLab Flavored Markdown](https://docs.gitlab.com/ee/user/markdown.html)
* [Pandoc’s Markdown](https://pandoc.org/MANUAL.html#pandocs-markdown)
* [Mathematica](tools/lang/Mathematica.nb)
* [Mathematica](tools/lang/Mathematica.nb) and [WolframScript](https://www.wolfram.com/wolframscript/)
* MATLAB, [Screenshots](https://github.com/zufuliu/notepad2/wiki/Screenshots#matlab-octave)
* Octave
* Scilab
* Gnuplot
* [Nim Script](tools/lang/Nim.nim), up to Nim 1.6.
* [Nim Script](tools/lang/Nim.nim), up to Nim 2.0.
* [Nullsoft Scriptable Install System](tools/lang/NSIS.nsi), up to NSIS 3.09.
* [OCaml](tools/lang/OCaml.ml), up to OCaml 5.0.
* Pascal, Delphi
Expand Down Expand Up @@ -135,7 +135,7 @@ Latest development builds (artifacts in Release configuration for each compiler
* TCL, [Screenshots](https://github.com/zufuliu/notepad2/wiki/Screenshots#tcl)
* [Texinfo](tools/lang/Texinfo.texi), up to Texinfo 7.0.
* [TOML File](https://toml.io/)
* [TypeScript](tools/lang/TypeScript.ts), TypeScript 5.0.
* [TypeScript](tools/lang/TypeScript.ts), TypeScript 5.2.
* Visual Basic, VB6, VB.NET
* VBScript
* [VHDL](tools/lang/VHDL.vhdl), up to VHDL 2019.
Expand Down
2 changes: 1 addition & 1 deletion src/EditLexers/stlTypeScript.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ static KEYWORDLIST Keywords_TS = {{
"debugger declare default delete do else enum extends false finally for function get global "
"if implements in infer instanceof interface intrinsic is keyof let new null of out override "
"package private protected public readonly return satisfies set static super switch this throw true try type typeof "
"undefined unique var while with yield "
"undefined unique using var while with yield "

, // 1 types
"any bigint boolean never number object string symbol unknown void "
Expand Down
2 changes: 1 addition & 1 deletion tools/lang/Nim.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 1.6.12 https://nim-lang.org/
# 2.0 https://nim-lang.org/
# https://github.com/nim-lang/Nim
# https://nim-lang.org/docs/manual.html

Expand Down
4 changes: 2 additions & 2 deletions tools/lang/TypeScript.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 5.0 https://www.typescriptlang.org/docs/
// 5.2 https://www.typescriptlang.org/docs/
// 1.8 https://github.com/microsoft/TypeScript/blob/main/doc/

//! keywords ===========================================================
Expand All @@ -19,7 +19,7 @@ package private protected public
readonly return
satisfies set static super switch
this throw true try type typeof
undefined unique
undefined unique using
var
while with
yield
Expand Down

0 comments on commit 2a5a46f

Please sign in to comment.