renamed String to string (lowercase)

Signed-off-by: mufaddal motiwala <mufaddalmm.52@gmail.com>
This commit is contained in:
mufaddal motiwala
2021-12-20 13:07:51 +05:30
parent baa1ee1de9
commit 3d26fb1606
4 changed files with 7 additions and 7 deletions
@@ -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>(
@@ -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;
};
@@ -50,7 +50,7 @@ function a11yProps(index: number) {
};
}
type Props = {
guid: String;
guid: string;
};
const useStyles = makeStyles(
theme => ({