Keywords in TypeScript

We cannot use keywords as identifier names.

Below is a list of few keywords in TypeScript:

break case var module
public null in finally
any new package continue
as type if number
private super for return
do try implement extends
switch typeof get else
export void new false
function let const catch
break case var yield
interface static true this
while enum instanceof string
throw any
Unknown's avatar

Author: Akanksha Gupta

I am a developer and working on SharePoint and Project Server in an MNC. I have more than 10 years of experience in the same field.

One thought on “Keywords in TypeScript”

Leave a comment

Design a site like this with WordPress.com
Get started