Skip to content

Commit

Permalink
Add interface with readonly property
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaHydrae committed Feb 13, 2019
1 parent f3b9912 commit 441c68d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';

interface Test {
readonly foo: string;
}

class App extends Component {
render() {
return (
Expand Down

0 comments on commit 441c68d

Please sign in to comment.