-
Notifications
You must be signed in to change notification settings - Fork 16
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
能删除自定义类型吗? #5
Comments
你可以使用 |
感谢! |
好像 |
另外 |
是 npm 包没更新吗,我下下来的 /**
* all types
* @type {Object}
*/
yod.types = tm.type.all; 实际上应该是 |
谢谢了,确实如你分析的那样,yod 提交了代码,没有更新到 npm 上,现在更新了一个版本 1.0.0-alpha.4,你重新安装下 yod-mock 应该就 OK 了 不好意思,最近比较忙,回复晚了些。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我用
yod-mock
搭建了一个服务器端的mock-server
,大概的功能是,用户可以传一个对象定义给我,然后我根据相关信息进行 mock,会需要使用yod.type
定义许多类型(这样可以使用其repeat
)。但是我担心定义类型定义过多会导致内存泄漏问题,不知道能不能将自定义类型删除。
The text was updated successfully, but these errors were encountered: