Commit 2e5e1e1bd37eb074fa74b5f558271da5f1bc56ce

Authored by 张志伟
1 parent 0768ead3

修改描述文件

lib/src/cluster/cluster-view.tsx
1 1 import * as React from "react";
2 2 import { StyleSheet, Text, View, ViewStyle } from "react-native";
3   -import { ClusterParams } from ".";
  3 +import { ClusterParams } from "./index";
4 4 import Marker from "../marker";
5 5  
6 6 interface Props {
... ...
lib/src/polyline.tsx
... ... @@ -54,7 +54,7 @@ export interface PolylineProps {
54 54 }
55 55  
56 56 export default class extends React.PureComponent<PolylineProps> {
57   - static defaultProps = { colors: [] };
  57 + static defaultProps = { colors: [], with: 14 };
58 58  
59 59 render() {
60 60 const props = {
... ...
tsconfig.json
1 1 {
2 2 "compilerOptions": {
3 3 "strict": true,
  4 + "target": "ES2019",
4 5 "jsx": "react-native",
5 6 "esModuleInterop": true,
6 7 "baseUrl": ".",
... ...