Please open Telegram to view this post
VIEW IN TELEGRAM
YouTube
TypeScript's Utility Types... Blazing fast
Between Pick, Omit, Exclude, Extract, ReturnType and many more, it's sometimes hard to know what TypeScript utility types are supposed to be used for. Here, I guide you through the context you need to use these tools to their maximum potential.
Become a…
Become a…
Forwarded from Будни разработчика
#инструмент дня
Устал вручную типизировать ответы от API для TypeScript или любого другого типизированного языка?
Есть решение!
https://app.quicktype.io/
Фиганул туда JSON — получил нужную структуру или описание типа, даже с тайпгардами. Уютненько!
Есть расширение для VS Code: https://marketplace.visualstudio.com/items?itemName=quicktype.quicktype
Ещё один мощный инструмент в тему дня: https://transform.tools. Одним типизированием JSON не ограничивается: можно CSS в Tailwind, а можно Flow в TypeScript.
Вот, например, если кто использует Zod — конвертор типов в схему Zod: https://transform.tools/typescript-to-zod
#json #typescript #type
Устал вручную типизировать ответы от API для TypeScript или любого другого типизированного языка?
Есть решение!
https://app.quicktype.io/
Фиганул туда JSON — получил нужную структуру или описание типа, даже с тайпгардами. Уютненько!
Есть расширение для VS Code: https://marketplace.visualstudio.com/items?itemName=quicktype.quicktype
Ещё один мощный инструмент в тему дня: https://transform.tools. Одним типизированием JSON не ограничивается: можно CSS в Tailwind, а можно Flow в TypeScript.
Вот, например, если кто использует Zod — конвертор типов в схему Zod: https://transform.tools/typescript-to-zod
#json #typescript #type
ESLint + Prettier + Typescript and React in 2022
https://blog.devgenius.io/eslint-prettier-typescript-and-react-in-2022-e5021ebca2b1
#coding
#react
#typescript
#eslint
#prettier
https://blog.devgenius.io/eslint-prettier-typescript-and-react-in-2022-e5021ebca2b1
#coding
#react
#typescript
#eslint
#prettier
Medium
ESLint + Prettier + Typescript and React in 2022
Making a new project ready for development can be a little overwhelming, especially if you use React, Typescript, ESLint, and Prettier
Conversion of type 'X' to type 'Y' may be a mistake in TS
https://bobbyhadz.com/blog/typescript-conversion-of-type-to-type-may-be-mistake
#coding
#typescript
https://bobbyhadz.com/blog/typescript-conversion-of-type-to-type-may-be-mistake
#coding
#typescript
Bobbyhadz
Conversion of type 'X' to type 'Y' may be a mistake in TS | bobbyhadz
Solve the error "Conversion of type 'X' to type 'Y' may be a mistake because neither type sufficiently overlaps with the other".
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type
https://bobbyhadz.com/blog/typescript-element-implicitly-has-any-type-expression#element-implicitly-has-an-any-type-because-expression-of-type-string-cant-be-used-to-index-type
#coding
#typescript
https://bobbyhadz.com/blog/typescript-element-implicitly-has-any-type-expression#element-implicitly-has-an-any-type-because-expression-of-type-string-cant-be-used-to-index-type
#coding
#typescript
Bobbyhadz
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type | bobbyhadz
A step-by-step guide on how to solve the error "Element implicitly has an 'any' type because expression of type 'string' can't be used to index type".
How to set up TypeScript with Node.js and Express
https://blog.logrocket.com/how-to-set-up-node-typescript-express/
#node
#express
#typescript
https://blog.logrocket.com/how-to-set-up-node-typescript-express/
#node
#express
#typescript
LogRocket Blog
How to set up TypeScript with Node.js and Express - LogRocket Blog
Set up TypeScript with Node.js and Express, focusing on configuring key elements for a smooth development experience.
Using ESLint and Prettier in a TypeScript Project
https://dev.to/robertcoopercode/using-eslint-and-prettier-in-a-typescript-project-53jb
#typescript
#node
#eslint
https://dev.to/robertcoopercode/using-eslint-and-prettier-in-a-typescript-project-53jb
#typescript
#node
#eslint
DEV Community
Using ESLint and Prettier in a TypeScript Project
ESLint's large set of linting rules and the increased commitment to use ESLint by the TypeScript team makes ESLint a great tool for linting TypeScript projects.
A Complete Guide to Using TypeScript in Node.js
https://betterstack.com/community/guides/scaling-nodejs/nodejs-typescript/#step-8-linting-typescript-with-eslint
#coding
#node
#typescript
https://betterstack.com/community/guides/scaling-nodejs/nodejs-typescript/#step-8-linting-typescript-with-eslint
#coding
#node
#typescript
Betterstack
Using TypeScript with Node.js: A Beginner's Guide | Better Stack Community
Learn how to use TypeScript to add type safety, improve code quality, and make your Node.js apps more scalable
Object destructuring with types in TypeScript
https://flaviocopes.com/typescript-object-destructuring/
#coding
#typescript
https://flaviocopes.com/typescript-object-destructuring/
#coding
#typescript
Flaviocopes
Object destructuring with types in TypeScript
Vue3 + TS + Vue Query + Express + tRPC: setup example
https://dev.to/alousilva/vue3-typescript-express-trpc-setup-example-2mlh
#coding
#vue
#typescript
https://dev.to/alousilva/vue3-typescript-express-trpc-setup-example-2mlh
#coding
#vue
#typescript
DEV Community
Vue3 + TS + Vue Query + Express + tRPC: setup example
Table of contents Introduction Setup Project folder structure Server script Router Vue...
Object Oriented Programming Expert With TypeScript
https://github.com/jafari-dev/oop-expert-with-typescript
#coding
#typescript
https://github.com/jafari-dev/oop-expert-with-typescript
#coding
#typescript
GitHub
GitHub - jafari-dev/oop-expert-with-typescript: A complete guide for learning object oriented programming pillars, SOLID principles…
A complete guide for learning object oriented programming pillars, SOLID principles and design patterns with TypeScript! - jafari-dev/oop-expert-with-typescript
Forwarded from Веб-страница
Пишем игру на JS/TS и развиваем навык работы с кодом
В статье автор рассказывает, как создать игру, которая будет предлагать вам рандомный текст и засекать за сколько по времени вы сможете его напечатать.
Сохраните, чтобы не потерять: https://tproger.ru/articles/pet-proekt-pishem-igru-na-js-ts-i-razvivaem-navyk-raboty-s-kodom/
#typescript #javascript #петпроект
В статье автор рассказывает, как создать игру, которая будет предлагать вам рандомный текст и засекать за сколько по времени вы сможете его напечатать.
Сохраните, чтобы не потерять: https://tproger.ru/articles/pet-proekt-pishem-igru-na-js-ts-i-razvivaem-navyk-raboty-s-kodom/
#typescript #javascript #петпроект
Forwarded from WebDEV
Самые частые ошибки в TypeScript
Программисты придумали типы, чтобы из-за них страдать — так описал статическую типизацию мой коллега. Но он не совсем прав. Они сильно упростят работу, если знать, как ими пользоваться.
В этом ролике ошибки, которые часто допускают новички, а потом мучаются из-за них (и/или удаляют TypeScript). Также рассказывается о том, как их избежать.
📺 YouTube
WebDEV #видео #TypeScript
Программисты придумали типы, чтобы из-за них страдать — так описал статическую типизацию мой коллега. Но он не совсем прав. Они сильно упростят работу, если знать, как ими пользоваться.
В этом ролике ошибки, которые часто допускают новички, а потом мучаются из-за них (и/или удаляют TypeScript). Также рассказывается о том, как их избежать.
📺 YouTube
WebDEV #видео #TypeScript
YouTube
Самые частые ошибки в TypeScript
Не надо так делать! Этих ошибок можно избегать при работе с TypeScript.
Не согласны? Пишите в комментариях свои версии 😎
⚡ Мои курсы
Курс по TypeScript: https://purpleschool.ru/course/typescript/?utm_source=youtube&utm_medium=link&utm_campaign=%D1%81%D…
Не согласны? Пишите в комментариях свои версии 😎
⚡ Мои курсы
Курс по TypeScript: https://purpleschool.ru/course/typescript/?utm_source=youtube&utm_medium=link&utm_campaign=%D1%81%D…
How to properly use Typescript, OOP and SOLID in modern web applications
https://medium.com/@aliafsah1988/how-to-properly-use-typescript-oop-and-solid-in-modern-web-applications-e4ef88761154
#coding
#typescript
#oop
https://medium.com/@aliafsah1988/how-to-properly-use-typescript-oop-and-solid-in-modern-web-applications-e4ef88761154
#coding
#typescript
#oop
Medium
How to properly use Typescript, OOP and SOLID in modern web applications?
The problem, the motivation and the goal
Типы или интерфейсы в TypeScript: что и когда использовать?
https://habr.com/ru/articles/844990/
#coding
#typescript
https://habr.com/ru/articles/844990/
#coding
#typescript
Хабр
Типы или интерфейсы в TypeScript: что и когда использовать?
Меня зовут Дима. Я Frontend разработчик в компании fuse8. Работая с TypeScript, рано или поздно сталкиваешься с вопросом: что выбрать — типы или интерфейсы? В нашей команде мы активно используем...