Skip to content

Commit c5518c3

Browse files
committed
Fixed an issue with codegen typings, see #819
1 parent 9726be0 commit c5518c3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: lib/codegen/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ declare function codegen(functionParams: string[], functionName?: string): Codeg
2424
*/
2525
declare function codegen(functionName?: string): Codegen;
2626

27-
namespace codegen {
27+
declare namespace codegen {
2828

2929
/** When set to `true`, codegen will log generated code to console. Useful for debugging. */
3030
let verbose: boolean;

Diff for: lib/codegen/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@protobufjs/codegen",
33
"description": "A minimalistic code generation utility.",
4-
"version": "2.0.3",
4+
"version": "2.0.4",
55
"author": "Daniel Wirtz <[email protected]>",
66
"repository": {
77
"type": "git",

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"dependencies": {
4747
"@protobufjs/aspromise": "^1.1.2",
4848
"@protobufjs/base64": "^1.1.2",
49-
"@protobufjs/codegen": "^2.0.3",
49+
"@protobufjs/codegen": "^2.0.4",
5050
"@protobufjs/eventemitter": "^1.1.0",
5151
"@protobufjs/fetch": "^1.1.0",
5252
"@protobufjs/float": "^1.0.2",

0 commit comments

Comments
 (0)