dva-boilerplate-typescript icon indicating copy to clipboard operation
dva-boilerplate-typescript copied to clipboard

Remove typings?

Open pyrossh opened this issue 9 years ago • 7 comments
trafficstars

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.

pyrossh avatar Nov 07 '16 18:11 pyrossh

Any docs? I can't find info from here.

sorrycc avatar Nov 08 '16 00:11 sorrycc

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

pyrossh avatar Nov 08 '16 04:11 pyrossh

removing typing后(用@types),找不到HistoryModule, 如何破?有没有解决方案?

qzhong1028 avatar Feb 06 '17 09:02 qzhong1028

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.

pyrossh avatar Feb 06 '17 11:02 pyrossh

@qzhong1028 HistoryModule实际上已经没有了,改名叫做了History,参见这个pr:https://github.com/dvajs/dva/pull/538

xufei avatar Feb 07 '17 07:02 xufei

@xufei, 谢谢,什么时候发布新版本?我更新的1.2.1还是存在HistoryModule

qzhong1028 avatar Feb 10 '17 02:02 qzhong1028

+1 什么时候发布新版本?1.2.1仍然存在HistoryModule

Lxxyx avatar Mar 26 '17 12:03 Lxxyx