Skip to content

Commit 441c68d

Browse files
committed
Add interface with readonly property
1 parent f3b9912 commit 441c68d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/App.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import React, { Component } from 'react';
22
import logo from './logo.svg';
33
import './App.css';
44

5+
interface Test {
6+
readonly foo: string;
7+
}
8+
59
class App extends Component {
610
render() {
711
return (

0 commit comments

Comments
 (0)