-
Notifications
You must be signed in to change notification settings - Fork 225
/
TypeScript.ts
77 lines (69 loc) · 1.95 KB
/
TypeScript.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// 5.6 https://www.typescriptlang.org/docs/
// 1.8 https://github.com/microsoft/TypeScript/blob/main/doc/
//! keywords ===========================================================
// textToKeywordObj https://github.com/microsoft/TypeScript/tree/main/src/compiler/scanner.ts
abstract accessor as assert asserts async await
break
case catch class const constructor continue
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 using
var
while with
yield
//! directive ===========================================================
namespace module export import require from
//! types ===========================================================
any bigint boolean never number object string symbol unknown void
//! decorators ===========================================================
// https://www.typescriptlang.org/docs/handbook/decorators.html
//! API ===========================================================
// use what in JavaScript.js
// https://github.com/microsoft/TypeScript/tree/main/lib/
//! TSDoc ===========================================================
// https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html
/// <reference path="" preserve="true" />
/// <reference types="" />
/// <reference lib="" />
/// <reference no-default-lib="true" />
/// <amd-module name="" />
/// <amd-dependency path="" name="" />
// https://tsdoc.org/
/**
* @alpha
* @beta
* @decorator
* @deprecated
* @defaultValue
* @eventProperty
* @example
* @experimental
* {@inheritDoc }
* @internal
* @label
* {@link }
* @override
* @packageDocumentation
* @param
* @privateRemarks
* @public
* @readonly
* @remarks
* @returns
* @sealed
* @see
* @throws
* @typeParam
* @virtual
*/