You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/documentation/copy/en/handbook-v2/Classes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -887,7 +887,7 @@ class S {
887
887
888
888
### Why No Static Classes?
889
889
890
-
TypeScript (and JavaScript) don't have a construct called `static class` the same way C# and Java do.
890
+
TypeScript (and JavaScript) don't have a construct called `static class` the same way as, for example, C# does.
891
891
892
892
Those constructs _only_ exist because those languages force all data and functions to be inside a class; because that restriction doesn't exist in TypeScript, there's no need for them.
893
893
A class with only a single instance is typically just represented as a normal _object_ in JavaScript/TypeScript.
0 commit comments