Skip to content

Commit

Permalink
feat: export options types (#1027)
Browse files Browse the repository at this point in the history
Closes #1014

Co-authored-by: Daniel Santiago <dsantiago@luno.com>
  • Loading branch information
dasco144 and dasco144 authored Apr 13, 2024
1 parent 763abf8 commit 9652586
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"bin": {
"protoc-gen-ts_proto": "./protoc-gen-ts_proto"
},
"types": "build/index.d.ts",
"scripts": {
"build": "yarn tsc",
"build:test": "yarn proto2bin && yarn proto2pbjs && yarn bin2ts",
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { DateOption, EnvOption, JsonTimestampOption, LongOption, OneofOption, Options, ServiceOption } from "./options";
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"strict": true,
"outDir": "build",
"skipLibCheck": true,
"experimentalDecorators": true
"experimentalDecorators": true,
"declaration": true
},
"include": ["src"]
}

0 comments on commit 9652586

Please sign in to comment.