GithubHelp home page GithubHelp logo

mkosir / typescript-style-guide Goto Github PK

View Code? Open in Web Editor NEW
456.0 8.0 27.0 10.48 MB

⚙️ TypeScript Style Guide. Concise set of conventions and best practices used to create consistent, maintainable code.

Home Page: https://mkosir.github.io/typescript-style-guide/

License: MIT License

JavaScript 3.30% CSS 1.89% MDX 78.29% TypeScript 16.53%
coding-conventions coding-guidelines reactjs typescipt style-guide nodejs

typescript-style-guide's Introduction

TypeScript Style Guide

TypeScript Style Guide provides a concise set of conventions and best practices used to create consistent, maintainable code.

Why

  • As project grow in size and complexity, maintaining code quality and ensuring consistent practices becomes increasingly challenging.
  • Defining and following a standard way to write TypeScript applications brings consistent codebase and faster development cycles.
  • No need to discuss code styles in code reviews.
  • Saves team time and energy.

Contributing

All contributions are welcome! Open a PR, issue or discussion.

typescript-style-guide's People

Contributors

annadrg avatar gibbok avatar mkosir avatar oaitbaziz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

typescript-style-guide's Issues

Differences between Types and Interfaces

Description

Hey @mkosir ,

I hope you're doing well! I wanted to discuss the section "Type Definition." I'm not entirely certain, but I think there might be a small issue with the text.

It currently says:
"Both are nearly equivalent, so to choose one is mostly an arbitrary decision to achieve a consistent codebase."

In my opinion, types offer more flexibility when defining union and intersection types, and for new projects, I think they could be preferable. What do you think?

For more information, you can check out this link:
Typescript-book on GitHub

If you have any questions or need further clarification, feel free to ask. Thanks for your time! 😊

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.