Skip to content

Commit ec69357

Browse files
authored
Update overview.md
1 parent a4ea352 commit ec69357

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

docs/typescript/overview.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@ The content that follows in this section will be abbreviated notes and code snip
66

77
## Basics
88

9-
:::note
9+
:::tip
1010

1111
TypeScript transpiles to JavaScript so at runtime all of the extra type checking etc has been removed. Stop looking for the TypeScript equivalent of casting! :D Use something like ZOD or Valibot if you need/want runtime type validation.
1212

1313
:::
14+
15+
## Managing packages and patching
16+
17+
[depcheck](https://www.npmjs.com/package/depcheck) or [npm-check](https://www.npmjs.com/package/npm-check) could be useful (I've not tried either yet) for removing packages which are not used. This isn't the same as npm prune which only removes modules from the `node_modules/` folder but not from package.json.
18+

0 commit comments

Comments
 (0)