Skip to content

TypeScript API / @laikacms/vite-plugin / RESERVED_WORDS

Variable: RESERVED_WORDS ​

ts
const RESERVED_WORDS: ReadonlySet<string>;

Reserved words that cannot be used as a binding name in a module scope. This covers ECMAScript reserved words, the strict-mode reserved words, let/ const-context future reserved words, and the module-context specials (await, enum). default is included because export const default is illegal even though default is otherwise a valid property name.

Released under the MIT License.