ntts
Version:
A CLI tool for refactoring an existing NodeJs application to a fully functional TypeScript application.
71 lines (70 loc) • 1.14 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var reservedKeywords = [
/* reserved keywords in typescript and javascript */
'break',
'case',
'catch',
'class',
'const',
'continue',
'debugger',
'default',
'delete',
'do',
'else',
'enum',
'export',
'extends',
'false',
'finally',
'for',
'function',
'if',
'import',
'in',
'instanceof',
'new',
'null',
'return',
'super',
'switch',
'this',
'throw',
'true',
'try',
'typeof',
'var',
'void',
'while',
'with',
'as',
'implements',
'interface',
'let',
'package',
'private',
'protected',
'public',
'static',
'yield',
'async',
'await',
/* node.js globals */
'process',
'console',
'__filename',
'__dirname',
'setTimeout',
'clearTimeout',
'setInterval',
'clearInterval',
'setImmediate',
'__promisify__',
'clearImmediate',
'queueMicrotask',
'require',
'module',
'exports',
];
exports.default = reservedKeywords;