41554 blogs · [ { "id": "01a0b878-5581-709e-ae22-fed3c77545dd", "title": "Use infer in combination with string literals to manipulate keys of objects (tip)", "url": "https://www.totaltypescript.com/tips/use-infer-in-combination-with-string-literals-to-manipulate-keys-of-objects", "published_at": "2022-09-23T08:50:17+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3c80c1dbe", "title": "Access deeper parts of objects and arrays (tip)", "url": "https://www.totaltypescript.com/tips/access-deeper-parts-of-objects-and-arrays", "published_at": "2022-09-23T08:49:44+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3c863b61e", "title": "Ensure that all call sites must be given value (tip)", "url": "https://www.totaltypescript.com/tips/ensure-that-all-call-sites-must-be-given-value", "published_at": "2022-09-23T08:47:53+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3c93d749f", "title": "Understand how TypeScript infers literal types (tip)", "url": "https://www.totaltypescript.com/tips/understand-how-typescript-infers-literal-types", "published_at": "2022-09-23T08:47:04+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3ca330e2d", "title": "Get a TypeScript package ready for release to NPM in under 2 minutes (tip)", "url": "https://www.totaltypescript.com/tips/get-a-typescript-package-ready-for-release-to-npm-in-under-2-minutes", "published_at": "2022-09-23T08:30:56+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3ca4b0336", "title": "Use assertion functions inside classes (tip)", "url": "https://www.totaltypescript.com/tips/use-assertion-functions-inside-classes", "published_at": "2022-09-22T15:40:38+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3cb3b5e04", "title": "Assign local variables to default generic slots to dry up your code and improve performance (tip)", "url": "https://www.totaltypescript.com/tips/assign-local-variables-to-default-generic-slots-to-dry-up-your-code-and-improve-performance", "published_at": "2022-09-22T15:28:59+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3cc07a7ba", "title": "Know when to use generics (tip)", "url": "https://www.totaltypescript.com/tips/know-when-to-use-generics", "published_at": "2022-09-22T15:28:22+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3cceaf6d4", "title": "Map over a union type (tip)", "url": "https://www.totaltypescript.com/tips/map-over-a-union-type", "published_at": "2022-09-22T15:27:23+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3cdda56e5", "title": "Make accessing objects safer by enabling 'noUncheckedIndexedAccess' in tsconfig (tip)", "url": "https://www.totaltypescript.com/tips/make-accessing-objects-safer-by-enabling-nouncheckedindexedaccess-in-tsconfig", "published_at": "2022-09-22T15:26:38+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3ce242a3b", "title": "Use generics to dynamically specify the number, and type, of arguments to functions (tip)", "url": "https://www.totaltypescript.com/tips/use-generics-to-dynamically-specify-the-number-and-type-of-arguments-to-functions", "published_at": "2022-09-22T15:25:55+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3cee45759", "title": "Use 'declare global' to allow types to cross module boundaries (tip)", "url": "https://www.totaltypescript.com/tips/use-declare-global-to-allow-types-to-cross-module-boundaries", "published_at": "2022-09-22T15:20:29+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3cf8b4e0e", "title": "Turn a module into a type (tip)", "url": "https://www.totaltypescript.com/tips/turn-a-module-into-a-type", "published_at": "2022-09-22T15:19:17+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3cffdf82b", "title": "Create autocomplete helper which allows for arbitrary values (tip)", "url": "https://www.totaltypescript.com/tips/create-autocomplete-helper-which-allows-for-arbitrary-values", "published_at": "2022-09-22T15:16:27+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3d072fe91", "title": "Use deep partials to help with mocking an entity (tip)", "url": "https://www.totaltypescript.com/tips/use-deep-partials-to-help-with-mocking-an-entity", "published_at": "2022-09-22T15:14:50+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3d0b78573", "title": "Throw detailed error messages for type checks (tip)", "url": "https://www.totaltypescript.com/tips/throw-detailed-error-messages-for-type-checks", "published_at": "2022-09-22T15:14:22+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3d19f5082", "title": "Create a 'key remover' function which can process any generic object (tip)", "url": "https://www.totaltypescript.com/tips/create-a-key-remover-function-which-can-process-any-generic-object", "published_at": "2022-09-22T15:13:26+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3d263713e", "title": "Use generics in React to make dynamic and flexible components (tip)", "url": "https://www.totaltypescript.com/tips/use-generics-in-react-to-make-dynamic-and-flexible-components", "published_at": "2022-09-22T14:22:14+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3d2fe0abb", "title": "Create your own 'objectKeys' function using generics and the 'keyof' operator (tip)", "url": "https://www.totaltypescript.com/tips/create-your-own-objectkeys-function-using-generics-and-the-keyof-operator", "published_at": "2022-09-22T14:21:16+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3d3aac31c", "title": "Write your own 'PropsFrom' helper to extract props from any React component (tip)", "url": "https://www.totaltypescript.com/tips/write-your-own-propsfrom-helper-to-extract-props-from-any-react-component", "published_at": "2022-09-22T14:19:51+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3d4745cfd", "title": "Use 'extends' keyword to narrow the value of a generic (tip)", "url": "https://www.totaltypescript.com/tips/use-extends-keyword-to-narrow-the-value-of-a-generic", "published_at": "2022-09-22T14:19:24+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3d551db61", "title": "Use function overloads and generics to type a compose function (tip)", "url": "https://www.totaltypescript.com/tips/use-function-overloads-and-generics-to-type-a-compose-function", "published_at": "2022-09-22T14:18:51+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3d5da9d66", "title": "Decode URL search params at the type level with ts-toolbelt (tip)", "url": "https://www.totaltypescript.com/tips/decode-url-search-params-at-the-type-level-with-ts-toolbelt", "published_at": "2022-09-21T12:25:00+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3d636fc56", "title": "Use 'in' operator to transform a union to another union (tip)", "url": "https://www.totaltypescript.com/tips/use-in-operator-to-transform-a-union-to-another-union", "published_at": "2022-09-21T12:23:40+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3d71b2690", "title": "Derive a union type from an object (tip)", "url": "https://www.totaltypescript.com/tips/derive-a-union-type-from-an-object", "published_at": "2022-09-21T12:14:16+00:00" }, { "id": "01a0b878-5581-709e-ae22-fed3c1b7c884", "title": "Zod (tutorial)", "url": "https://www.totaltypescript.com/tutorials/zod", "published_at": "2022-08-25T16:19:09+00:00" } ] posts Claim your blog
Back to totaltypescript.com
Blog · corpus.blog/blogs/totaltypescript.com/posts

totaltypescript.com

totaltypescript.com

2022