---
title: "#type-generics articles | Hashnode"
description: "Explore 2 articles tagged #type-generics on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/type-generics"
---

Tag

# #type-generics

2 posts · 0 followers

[Erioifpud](https://hashnode.com/@Erioifpud) · [Nov 17, 2024](https://hashnode.com/posts/ts/6739f6368f50ccda111b09da)

### [对表单值进行 TypeScript 类型推断](https://erio.hashnode.dev/ts?utm_source=hashnode&utm_medium=feed)

解释 简单来说就是，你通过表单描述去定义了表单的属性，然后你现在要做一个表单值对象，这个对象的属性名、值类型都得是描述里面出现过的。 // config \[ { name: 'link', type: 'string', }, { name: 'age', type: 'number', } \] // 合法的 value { link: '', age: 0, } // 不合法的 value { link: 666, age: ...

2 min read · [erio.hashnode.dev](https://erio.hashnode.dev/ts?utm_source=hashnode&utm_medium=feed)

[Sadra Yahyapour](https://hashnode.com/@lnxpy) · [Nov 3, 2024](https://hashnode.com/posts/generic-typing-in-python/6727e668a990fe8761ce3e80)

### [Generic Typing in Python](https://blog.imsadra.dev/generic-typing-in-python?utm_source=hashnode&utm_medium=feed)

Since Python introduced the ability to add generic types to functions, the language has become much more type-friendly and encourages you to follow this convention for more maintainable code. Obviously, this will lead to a better development experien...

5 min read · [blog.imsadra.dev](https://blog.imsadra.dev/generic-typing-in-python?utm_source=hashnode&utm_medium=feed)

[3](https://hashnode.com/posts/generic-typing-in-python/6727e668a990fe8761ce3e80)
