demo/typescript.js
function hasDynamicName(declaration) {
        return declaration.name &&
            declaration.name.kind === 136 /* ComputedPropertyName */ &&
            !isWellKnownSymbolSyntactically(declaration.name.expression);
    }
function hasDynamicName(declaration) {
        return declaration.name &&
            declaration.name.kind === 136 /* ComputedPropertyName */ &&
            !isWellKnownSymbolSyntactically(declaration.name.expression);
    }
A declaration has a dynamic name if both of the following are true:
1. The declaration has a computed property name
2. The computed name is *not* expressed as Symbol.<name>, where name
is a property of the Symbol constructor that denotes a built in
Symbol.