Ir para o conteúdo
onsuggest
Entrar
Artigo ja

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

Fonte: Zenn ·

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

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

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

Como posso acessar ou experimentar?

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

De onde vem esse conteúdo?

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

Atalhos de teclado

Descoberta anterior
←P
Próxima descoberta
→N
Gosto
L
Não é para mim
X
Guardar
S
Mostrar esta ajuda
?
Fechar
Esc

Os atalhos funcionam na página de descobertas.