浏览代码

stackdriver: typescriptifying props

Erik Sundell 7 年之前
父节点
当前提交
f307fc4760
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      public/app/plugins/datasource/stackdriver/components/SimpleSelect.tsx

+ 2 - 2
public/app/plugins/datasource/stackdriver/components/SimpleSelect.tsx

@@ -1,8 +1,8 @@
 import React, { SFC } from 'react';
 
 interface Props {
-  onValueChange: any;
-  options: any;
+  onValueChange: (e) => void;
+  options: any[];
   value: string;
   label: string;
 }