1.2.0
Web project on TypeScript, antd-mobile >= 1.1.4-beta.0
https://github.com/ant-design/ant-design-mobile/pull/1280/files
No TypeScript compile error
TypeScript compile error
node_modules/antd-mobile/lib/baseType.d.ts(3,27): error TS2307: Cannot find module 'react-native'.
2:51:05 PM - Compilation complete. Watching for file changes.
This compile error starts from PR https://github.com/ant-design/ant-design-mobile/pull/1280/files
This should be fixed in https://github.com/ant-design/ant-design-mobile/pull/1376

I got same error from modal props type
is it intended one? (= which means that i should install react-native package even if i use only for web?)
my workaround:
yarn add -D @types/react-native // don't need react-native itself,ed -s ./node_modules/@types/react-native/index.d.ts <<< $',s/declare global/declare namespace FuckGlobals/g\nw'