diff --git a/packages/nestjs-grpc-reflection/package.json b/packages/nestjs-grpc-reflection/package.json index 38017a03..583b54f4 100644 --- a/packages/nestjs-grpc-reflection/package.json +++ b/packages/nestjs-grpc-reflection/package.json @@ -4,7 +4,12 @@ "license": "BSD-3-Clause", "type": "module", "exports": { - ".": "./src/index.ts" + ".": "./src/index.ts", + "./proto": { + "import": "./proto/index.js", + "require": "./proto/index.js", + "types": "./proto/index.d.ts" + } }, "main": "src/index.ts", "files": [ diff --git a/packages/nestjs-proto-types/src/index.ts b/packages/nestjs-proto-types/src/index.ts index 717c58da..f97af0f3 100644 --- a/packages/nestjs-proto-types/src/index.ts +++ b/packages/nestjs-proto-types/src/index.ts @@ -10,5 +10,6 @@ * @module * @typedef {string} ProtoFile - Represents the imported `.proto` file as a string */ -// @ts-expect-error +// eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error +// @ts-ignore declare module '*.proto'