-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d3facb1
commit bd85c8d
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
/** | ||
* Declares a module for `.proto` files, which are commonly used for defining | ||
* Protocol Buffers (protobuf) schemas. | ||
* | ||
* This declaration allows TypeScript to recognize `.proto` files as modules | ||
* that can be imported directly in TypeScript projects, enabling integration | ||
* with Protocol Buffers in environments where `.proto` files are parsed or | ||
* used as source definitions for generating classes and types. | ||
* | ||
* @module | ||
* @typedef {string} ProtoFile - Represents the imported `.proto` file as a string | ||
*/ | ||
// @ts-expect-error | ||
declare module '*.proto' |