Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
0811fbd6
Commit
0811fbd6
authored
Feb 07, 2019
by
Johannes Schill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Add missing typing
parent
e5759fa0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
public/app/plugins/panel/graph2/GraphPanel.tsx
+2
-2
public/app/plugins/panel/text2/module.tsx
+1
-1
No files found.
public/app/plugins/panel/graph2/GraphPanel.tsx
View file @
0811fbd6
...
...
@@ -9,7 +9,7 @@ import { processTimeSeries } from '@grafana/ui/src/utils';
import
{
Graph
}
from
'@grafana/ui'
;
// Types
import
{
PanelProps
,
NullValueMode
}
from
'@grafana/ui/src/types'
;
import
{
PanelProps
,
NullValueMode
,
TimeSeriesVMs
}
from
'@grafana/ui/src/types'
;
import
{
Options
}
from
'./types'
;
interface
Props
extends
PanelProps
<
Options
>
{}
...
...
@@ -19,7 +19,7 @@ export class GraphPanel extends PureComponent<Props> {
const
{
panelData
,
timeRange
,
width
,
height
}
=
this
.
props
;
const
{
showLines
,
showBars
,
showPoints
}
=
this
.
props
.
options
;
let
vmSeries
;
let
vmSeries
:
TimeSeriesVMs
;
if
(
panelData
.
timeSeries
)
{
vmSeries
=
processTimeSeries
({
timeSeries
:
panelData
.
timeSeries
,
...
...
public/app/plugins/panel/text2/module.tsx
View file @
0811fbd6
...
...
@@ -2,7 +2,7 @@ import React, { PureComponent } from 'react';
import
{
PanelProps
}
from
'@grafana/ui'
;
export
class
Text2
extends
PureComponent
<
PanelProps
>
{
constructor
(
props
)
{
constructor
(
props
:
PanelProps
)
{
super
(
props
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment