Aller au contenu
onsuggest
Connexion
Article ja

[TypeScript] パスエイリアスには Subpath Imports を使いたい

Source: Zenn ·

medibaにバックエンドエンジニアとして所属している@mdbr92です。 肩書はバックエンドエンジニアですが、実際にはフロントエンド・API・バッチ処理などアプリケーション全体の開発やアーキテクチャ選定・開発環境の整備などをよく担当しています。 はじめに 私がこれまで開発に携わったTypeScriptを採用したいくつかのプロダクトでは、tsconfig.json の paths を使ったパスエイリアス設定を利用しています。 パスエイリアス設定を利用して、たとえば ../../../../lib/log.ts のような相対パスでimport文を記述した際の指定ミスや可読性低下を避け、...

Qu'est-ce que [TypeScript] パスエイリアスには Subpath Imports を使いたい ?

[TypeScript] パスエイリアスには Subpath Imports を使いたい is a article discovery curated from Zenn. medibaにバックエンドエンジニアとして所属している@mdbr92です。 肩書はバックエンドエンジニアですが、実際にはフロントエンド・API・バッチ処理などアプリケーション全体の開発やアーキテクチャ選定・開発環境の整備などをよく担当しています。 はじめに 私がこれまで開発に携わったTypeScriptを採用したいくつかのプロダクトでは、tsconfig.j

Comment puis-je y accéder ou l'essayer ?

You can experience this content directly on its original host (Zenn) by clicking the "Open Original" button.

D'où vient ce contenu ?

Curated from Zenn by the OnSuggest team to surface the most interesting and serendipitous content on the web.

Raccourcis clavier

Découverte précédente
←P
Découverte suivante
→N
J'aime
L
Pas pour moi
X
Enregistrer
S
Afficher cette aide
?
Fermer
Esc

Les raccourcis fonctionnent sur la page des découvertes.