dva-boilerplate-typescript
dva-boilerplate-typescript copied to clipboard
Remove typings?
typescript > 2.0 introduced the @types repo so now you can include typings in the package json directly like this "@types/react-dom": "15.2.1" and the typescript compiler will detect it.
Any docs? I can't find info from here.
Its here,
https://blogs.msdn.microsoft.com/typescript/2016/09/22/announcing-typescript-2-0/ https://blogs.msdn.microsoft.com/typescript/2016/06/15/the-future-of-declaration-files/ http://stackoverflow.com/questions/39661345/moving-from-typings-to-types-using-visual-studio-typescript-2-0-3
I guess its 2.0.3
removing typing后(用@types),找不到HistoryModule, 如何破?有没有解决方案?
Yeehaw!! I guess you can close this. But there is the question of that one last question mark still left in the comment before me.
@qzhong1028 HistoryModule实际上已经没有了,改名叫做了History,参见这个pr:https://github.com/dvajs/dva/pull/538
@xufei, 谢谢,什么时候发布新版本?我更新的1.2.1还是存在HistoryModule
+1 什么时候发布新版本?1.2.1仍然存在HistoryModule