* Indicates whether a type can be used as a property name.
(type)
| 57668 | * Indicates whether a type can be used as a property name. |
| 57669 | */ |
| 57670 | function isTypeUsableAsPropertyName(type) { |
| 57671 | return !!(type.flags & 8576 /* TypeFlags.StringOrNumberLiteralOrUnique */); |
| 57672 | } |
| 57673 | /** |
| 57674 | * Indicates whether a declaration name is definitely late-bindable. |
| 57675 | * A declaration name is only late-bindable if: |
no outgoing calls
no test coverage detected