File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ This will happen automatically every time you commit.
4343 - Exception: accept short names to adhere to mathematical convention
4444 (e.g. ` A ` is a good name for a generic matrix when solving a system _ Ax = b_ ,
4545 ` i ` and ` j ` are good names for matrix indices,
46- and ` m ` and ` n ` are good names for matrix dimensions)
46+ and ` m ` and ` n ` are good names for matrix dimensions).
4747- Prefix private member variables with an underscore
4848 - JavaScript consumers do not have the compiler to tell them they shouldn't be using the private
4949 part of your class.
@@ -134,7 +134,7 @@ export class LoggingThing implements Thing {
134134 * @public
135135 */
136136 do(options : string []): void {
137- options .forEach (option => console .log (option ));
137+ options .forEach (( option ) => console .log (option ));
138138 }
139139}
140140
@@ -148,7 +148,7 @@ export class LoggingThing implements Thing {
148148 * @public
149149 */
150150export function doTheThings(things : Thing [], options : string []): Thing | undefined {
151- things .forEach (thing => thing .do (options ));
151+ things .forEach (( thing ) => thing .do (options ));
152152 return things .length > 0 ? things [0 ] : undefined ;
153153}
154154```
You can’t perform that action at this time.
0 commit comments