Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Processor 应该是一个 class 而不是简单的 Object #31

Open
allayli opened this issue Jul 25, 2018 · 0 comments
Open

Processor 应该是一个 class 而不是简单的 Object #31

allayli opened this issue Jul 25, 2018 · 0 comments

Comments

@allayli
Copy link

allayli commented Jul 25, 2018

自定义处理器

这种自定义的方法,远远不如原本的 Analyzer
原本 Analyzer 可以实现 继承后 override 特点方法,现在的 processor 只是 Res.processor.map 里的一个 Object,不能做到继承。

毕竟是 Typescript 的 项目,class 继承 这种基本的功能 还是应该实现的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant