Skip to content

Commit

Permalink
chore: jsdoc for proto types (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
OsirisAnubiz authored Nov 6, 2024
1 parent d3facb1 commit bd85c8d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/nestjs-proto-types/src/index.ts
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'

0 comments on commit bd85c8d

Please sign in to comment.