mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Require all Prop interfaces to be explicitly named, prefer interface over type
- Also export all prop types Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
625b00c247
commit
a8c597928a
197 files changed
+630
-634
No files matched your search
@@ -17,13 +17,13 @@ const {
|
||||
},
|
||||
} = Renderer;
|
||||
|
||||
interface Props {
|
||||
export interface MetricsSettingsProps {
|
||||
cluster: Common.Catalog.KubernetesCluster;
|
||||
}
|
||||
|
||||
@observer
|
||||
export class MetricsSettings extends React.Component<Props> {
|
||||
constructor(props: Props) {
|
||||
export class MetricsSettings extends React.Component<MetricsSettingsProps> {
|
||||
constructor(props: MetricsSettingsProps) {
|
||||
super(props);
|
||||
makeObservable(this);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user