File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
contributor_docs/pr05_2025_typescript_migration Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -232,6 +232,8 @@ npm run tsc --noEmit
232232
233233</details >
234234
235+ <br >
236+
235237<details >
236238 <summary >
237239 Prefer `named` exports over `default` exports where possible
@@ -279,6 +281,8 @@ console.log(multiply(2, 2));
279281
280282</details >
281283
284+ <br >
285+
282286<details >
283287 <summary >
284288 If possible, add unit tests prior to the component that you are migrating prior to performing any migration
@@ -300,6 +304,8 @@ console.log(multiply(2, 2));
300304
301305</details>
302306
307+ <br >
308+
303309<details >
304310 <summary >
305311 Add JSDocs & specify the `Express` `RequestHandler` generics to `/server` controller methods in the following example:
@@ -334,6 +340,8 @@ export const updatePreferences: RequestHandler<
334340
335341</details >
336342
343+ <br >
344+
337345<details >
338346 <summary >
339347 Best-effort & evolving-precision principle towards defining types
@@ -343,6 +351,8 @@ export const updatePreferences: RequestHandler<
343351
344352</details >
345353
354+ <br >
355+
346356<details >
347357 <summary >
348358 `/server` types live in `/server/types`. `/client` types are co-located (currently). Shared types between the `/server` and `/client` live in `/common/types`.
@@ -363,6 +373,15 @@ export const updatePreferences: RequestHandler<
363373
364374[ Video Guide - Migrating the ` client/modules/User/pages/AccountView ` ] ( youtube.com/watch?v=y84SVy7lAgg&feature=youtu.be )
365375
376+ <summary >
377+ <details >
378+ Text Guide
379+ </details >
380+
381+ - TODO
382+
383+ </summary >
384+
366385## Examples Index:
367386
368387## Next Step Issues:
You can’t perform that action at this time.
0 commit comments