اشتراکها
quicktype generates types and helper code for reading JSON in C#, Swift, TypeScript, Go, Objective-C, C++ and more. Customize online with advanced options, or download a command-line tool. VSCode Plugin
اشتراکها
سایت reddit و استفاده از Typescript
اشتراکها
سربارگزاری توابع در TypeScript
اشتراکها
ایجاد اپلیکیشن آنگولار با typescript
دو افزونهی تایپاسکریپتی مفید دیگر
- MoveTS کار تغییرنام و یا تغییر مکان فایلهای ts. را با اصلاح ارجاعات به آنها سادهتر میکند.
- TypeScript Hero میتواند برای حذف ارجاعاتی که در ماژول جاری استفاده نشدهاند، بکارگرفته شود. همچنین تجربهی کار با TSLint را نیز بهبود میبخشد.
- MoveTS کار تغییرنام و یا تغییر مکان فایلهای ts. را با اصلاح ارجاعات به آنها سادهتر میکند.
- TypeScript Hero میتواند برای حذف ارجاعاتی که در ماژول جاری استفاده نشدهاند، بکارگرفته شود. همچنین تجربهی کار با TSLint را نیز بهبود میبخشد.
// file -> preferences -> settings "typescriptHero.resolver.organizeOnSave": true,
یک نکته: یافتن شماره نگارش کامپایلر TypeScript در حال استفادهی توسط ویژوال استودیو
الف) package manager console را باز کنید و سپس دستور tsc -v را صادر کنید.
ب) فایل پروژه (csproj) را باز کرده و مدخل TypeScriptToolsVersion آنرا بررسی کنید. این شماره نگارش مقدم است بر عددی که با tsc -v مشاهده میکنید.
الف) package manager console را باز کنید و سپس دستور tsc -v را صادر کنید.
ب) فایل پروژه (csproj) را باز کرده و مدخل TypeScriptToolsVersion آنرا بررسی کنید. این شماره نگارش مقدم است بر عددی که با tsc -v مشاهده میکنید.