我刚刚开始重写我现有的react-native项目,从js到typescript。为了禁用字体缩放,我在App.js的开头将Text.defaultProps.allowFontScaling设置为false,效果很好。import React from 'react';...Text.defaultProps.allowFontScal
学习typescript并尝试将我的另一个react项目转换为typescript来学习它。我在我的App.tsx文件- Type '{ history: History<unknown>; location: Location<unknown>; match: match<any>; staticContext: StaticContext | undefined; }' has no properties in common with type