New tslint rule: Interfaces must not start with I
This commit is contained in:
parent
1052341d79
commit
23293a3c00
4 changed files with 25 additions and 24 deletions
|
@ -1,11 +1,11 @@
|
|||
import React from 'react';
|
||||
|
||||
|
||||
interface IProps { name: string; }
|
||||
interface Props { name: string; }
|
||||
|
||||
interface IState { count: number; }
|
||||
interface State { count: number; }
|
||||
|
||||
export class Reply extends React.Component<IProps, IState> {
|
||||
export class Reply extends React.Component<Props, State> {
|
||||
public render() {
|
||||
return (
|
||||
<div>Placeholder</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue