New tslint rule: Interfaces must not start with I

This commit is contained in:
Scott Nonnenberg 2018-04-05 12:21:22 -07:00
parent 1052341d79
commit 23293a3c00
No known key found for this signature in database
GPG key ID: 5F82280C35134661
4 changed files with 25 additions and 24 deletions

View file

@ -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>