mirror of
https://github.com/desktop/desktop
synced 2024-09-17 23:21:55 +00:00
📖
This commit is contained in:
parent
9c818973f9
commit
0e0b054b7f
|
@ -4,6 +4,10 @@
|
||||||
* This custom tslint rule is highly specific to GitHub Desktop and attempts
|
* This custom tslint rule is highly specific to GitHub Desktop and attempts
|
||||||
* to prevent props and state interfaces from being declared with mutable
|
* to prevent props and state interfaces from being declared with mutable
|
||||||
* members.
|
* members.
|
||||||
|
*
|
||||||
|
* While it's technically possible to modify this.props there's never a good
|
||||||
|
* reason to do so and marking our interfaces as read only ensures that we
|
||||||
|
* get compiler support for that fact.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as ts from 'typescript'
|
import * as ts from 'typescript'
|
||||||
|
|
Loading…
Reference in a new issue