Skip to main content

Interface Index Signature AST TypeScript Object

The TypeScriptInterfaceIndexSignature object matches a index signature in an interface.

The astType value for this node is interfaceproperty.

Code Pattern

This object catches [key: string]: string; in the following code pattern:

interface StringByString {
[key: string]: string;
}

Attributes