- getDecorator(node): _typescript_eslint_types.TSESTree.Decorator | undefined
Parameters
- node: (Comment | ESLintOrTSNode) & {
declaration?: any;
decorators?: any[];
parent?: Node & { decorators?: any[]; };
}
Returns _typescript_eslint_types.TSESTree.Decorator | undefined