Add option to output immutable types
See original GitHub issueOption to make output typings comply tslint-immutable rules:
- add to each interface property
readonly
keyword - use ReadonlyArray<T> instead of Array<T> or T[].
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Python Basics: Mutable vs Immutable Objects
Objects whose value can change are said to be mutable; objects whose value is unchangeable once they are created are called immutable.
Read more >Reading 9: Mutability & Immutability - MIT
Since String is immutable, once created, a String object always has the same value. To add something to the end of a String,...
Read more >How to use immutable types and non-public accessors with ...
This article shows how to use immutable types, public parameterized constructors, and non-public accessors with the System.Text.Json namespace.
Read more >python - Immutable vs Mutable types - Stack Overflow
In Python if you change the value of the immutable object it will create a new object. Mutable Objects. Here are the objects...
Read more >How to create Immutable class in Java? - GeeksforGeeks
The class must be declared as final so that child classes can't be created. · Data members in the class must be declared...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@BjornMelgaard I’m implementing this right now 😃
Done in 0.9.0 😃