renamed String to string (lowercase)
Signed-off-by: mufaddal motiwala <mufaddalmm.52@gmail.com>
This commit is contained in:
@@ -35,9 +35,9 @@ export const newRelicDashboardApiRef = createApiRef<NewRelicDashboardApi>({
|
||||
});
|
||||
|
||||
export type NewRelicDashboardApi = {
|
||||
getDashboardEntity(guid: String): Promise<DashboardEntitySummary | undefined>;
|
||||
getDashboardEntity(guid: string): Promise<DashboardEntitySummary | undefined>;
|
||||
getDashboardSnapshot(
|
||||
guid: String,
|
||||
guid: string,
|
||||
duration: Number,
|
||||
): Promise<DashboardSnapshotSummary | undefined>;
|
||||
};
|
||||
|
||||
@@ -68,7 +68,7 @@ export class NewRelicDashboardClient implements NewRelicDashboardApi {
|
||||
}
|
||||
|
||||
async getDashboardEntity(
|
||||
guid: String,
|
||||
guid: string,
|
||||
): Promise<DashboardEntitySummary | undefined> {
|
||||
const DashboardEntityList = await this.callApi<DashboardEntity>(
|
||||
getDashboardParentGuidQuery,
|
||||
@@ -82,7 +82,7 @@ export class NewRelicDashboardClient implements NewRelicDashboardApi {
|
||||
}
|
||||
|
||||
async getDashboardSnapshot(
|
||||
guid: String,
|
||||
guid: string,
|
||||
duration: Number,
|
||||
): Promise<DashboardSnapshotSummary | undefined> {
|
||||
const DashboardSnapshotValue = await this.callApi<DashboardSnapshot>(
|
||||
|
||||
+2
-2
@@ -22,8 +22,8 @@ import { newRelicDashboardApiRef } from '../../../api';
|
||||
import Alert from '@material-ui/lab/Alert';
|
||||
|
||||
type Props = {
|
||||
guid: String;
|
||||
name: String;
|
||||
guid: string;
|
||||
name: string;
|
||||
permalink: string;
|
||||
duration: Number;
|
||||
};
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ function a11yProps(index: number) {
|
||||
};
|
||||
}
|
||||
type Props = {
|
||||
guid: String;
|
||||
guid: string;
|
||||
};
|
||||
const useStyles = makeStyles(
|
||||
theme => ({
|
||||
|
||||
Reference in New Issue
Block a user