TypeScript Example File

TS · .ts

Free downloads · No account required · File sizes and checksums listed

Download free TypeScript (.ts) example files to test source uploads, parsers, and developer tooling.

Pick a published size for smoke tests or larger fixtures.

Download Sample TS Files

Verified sample files · Actual sizes · SHA-256 available

Target size File Actual size Download
10 KB example-10kb.ts 10 KB Download
100 KB example-100kb.ts 100 KB Download
500 KB example-500kb.ts 500 KB Download
1 MB example-1mb.ts 1024 KB Download
5 MB example-5mb.ts 5.00 MB Download
10 MB example-10mb.ts 10.00 MB Download

Target size is approximate. Use Actual size for limit tests. Open file details for SHA-256 checksums.

File details and SHA-256 checksums

Full SHA-256 for automated tests. MIME text/typescript for all sizes.

  • 10 KB example-10kb.ts 10231 bytes (10 KB)
    82fdb85f4536ee65ff4945c18e675cd33f606c181616ebfc5ea6effad2062486
  • 100 KB example-100kb.ts 102391 bytes (100 KB)
    d13a76a73eb1ad1f60fd815d7b5004942a2310624fe73a4484e6fb752f7b1c61
  • 500 KB example-500kb.ts 511991 bytes (500 KB)
    28c94887b6029c4c3b6bfecd0f442eb23e034a2dd55d62eab97af564b3edcbb2
  • 1 MB example-1mb.ts 1048567 bytes (1024 KB)
    d08c33adc3b8bcd3f1f6b18e1de5a0406c9770dce28048c6a58540b234e10ae3
  • 5 MB example-5mb.ts 5242871 bytes (5.00 MB)
    c8b62ed536d1373cb2fd88928175914049b860a01a3a050200ec8c94bb5e0a92
  • 10 MB example-10mb.ts 10485751 bytes (10.00 MB)
    2b90c51e6139e1af3f2aaed81a91a8263f4fa188c1511540dd849068cfa37d49

How to download

  1. Choose a file in the table and click Download.
  2. Optional: open File details and SHA-256 checksums to confirm the exact bytes for repeatable tests.

Browse more Sample Developer Files or return to Free Example Files.

About these samples

These are synthetic sample files for testing and learning. They are not real user documents and are not intended to contain personal data. A matching SHA-256 confirms you received the published bytes — it is not a malware scan or a guarantee that every application will accept the file.

File information

Format
TypeScript Source
Extension
.ts
MIME type
text/typescript
Category
Developer Files
License
Free for testing and development

Common test uses

  • Source upload forms: Confirm .ts acceptance and size caps.
  • Compiler / linter smoke tests: Stable CDN fixtures.
  • Highlighter QA: Preview TypeScript in admin UIs.

What Is a TypeScript Example File?

A TypeScript example file is a .ts source sample for testing and development.

Useful for upload forms and CI that accept TypeScript alongside JavaScript.

Notes about these TS samples

MIME type is often text/typescript or application/typescript. Related: JS, PY, JSON.

Frequently Asked Questions

Are TypeScript example files free?

Yes. Published TypeScript samples are free to download.

Is this transport-stream video?

No. These .ts files are TypeScript source fixtures under Developer Files.

Looking for More Sample Developer Files?

Return to the Developer Files category to browse published formats.

Also try: JS samples · PY samples · JSON samples · HTML samples

Browse Sample Developer Files