---
title: "Discussion on \"TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier\" | Hashnode"
description: "Discussion on \"TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier\". TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier"
url: "https://hashnode.com/posts/ts1046-toplevel-declarations-in-dts-files-must-start-with-either-a-declare-or-export-modifier/677f47af4f04e22cde11cdee"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier](https://lior-amsalem.hashnode.dev/ts1046-toplevel-declarations-in-dts-files-must-start-with-either-a-declare-or-export-modifier?utm_source=hashnode&utm_medium=feed)

TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier

Jan 9, 2025 · 4 min read · lior-amsalem.hashnode.dev  
Read the article

-   [#software-engineering](https://hashnode.com/tag/software-engineering)

## Written by

[Lior Amsalem](https://hashnode.com/@Lioramsalem)

@Lioramsalem

  
[View profile](https://hashnode.com/@Lioramsalem)

Software engineer

For the Love of software

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
