Saltar al contenido
onsuggest
Iniciar sesión
Artículo ja

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

Fuente: Zenn ·

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

¿Qué es [TypeScript] パスエイリアスには Subpath Imports を使いたい?

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

¿Cómo puedo acceder o experimentarlo?

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

¿De dónde proviene este contenido?

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

Atajos de teclado

Descubrimiento anterior
←P
Siguiente descubrimiento
→N
Me gusta
L
No es para mí
X
Guardar
S
Mostrar esta ayuda
?
Cerrar
Esc

Los atajos funcionan en la página de descubrimientos.