Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

react-tsx

Insert `··` prettier/prettier

April 11, 2024 by Tarik

Not fully configuring ESlint and Prettier can cause a myriad of issues. To avoid all of them follow the steps mentioned in How to use Prettier with ESLint and TypeScript in VSCode , also remove any extra setting in config files for ESlint, Prettier and setting.json for VScod that might override other rules. Important: Based … Read more

Categories visual-studio-code Tags eslint, prettier, react-tsx, visual-studio-code Leave a comment

Format *.tsx files on save in VS Code

September 6, 2023 by Tarik

“[typescriptreact]”: { “editor.formatOnSave”: true } See also Language specific editor settings

Categories typescript Tags react-tsx, typescript, visual-studio-code Leave a comment

Typescript image import

February 23, 2023 by Tarik

One of the ways to get rid of that error is by modifying d.ts file as follows: declare module “*.png” remove { const value: string; export default value; } or alternatively you can do: declare module “*.png” { const value: any; export default value; } Update The best solution with type-checking is: declare module “*.png” … Read more

Categories reactjs Tags module, react-tsx, reactjs, tsconfig, typescript Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa