浏览代码

corrected interface name for files

Naveen Ithapu 6 年前
父节点
当前提交
921eec59e8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      index.d.ts

+ 2
- 2
index.d.ts 查看文件

6
 import { WebViewProps } from "react-native-webview";
6
 import { WebViewProps } from "react-native-webview";
7
 import {ViewStyle} from "react-native";
7
 import {ViewStyle} from "react-native";
8
 
8
 
9
-export interface StylesFiles {
9
+export interface StylesFile {
10
     href: string;
10
     href: string;
11
     type: string;
11
     type: string;
12
     rel: string;
12
     rel: string;
20
 export interface AutoHeightWebViewProps extends WebViewProps {
20
 export interface AutoHeightWebViewProps extends WebViewProps {
21
     onSizeUpdated: (size: SizeUpdate)=>void;
21
     onSizeUpdated: (size: SizeUpdate)=>void;
22
     baseUrl: string;
22
     baseUrl: string;
23
-    files: StylesFiles[];
23
+    files: StylesFile[];
24
     style: ViewStyle;
24
     style: ViewStyle;
25
     customScript: string;
25
     customScript: string;
26
     customStyle: string;
26
     customStyle: string;