Skip to content

Commit

Permalink
chore: lock jsdoc to fix generated ts type error
Browse files Browse the repository at this point in the history
Change-Id: I4f7d38991265058d7f4ae44f8da0e5ba9f196dec
  • Loading branch information
zhangguanghan committed Jun 20, 2022
1 parent b4cae07 commit 5fe68c4
Show file tree
Hide file tree
Showing 14 changed files with 60 additions and 31 deletions.
1 change: 1 addition & 0 deletions cli/package.json
Expand Up @@ -2,6 +2,7 @@
"version": "6.9.0",
"dependencies": {
"espree": "^7.1.0",
"jsdoc": "github:VitalyName/jsdoc#80443ca629052fc7aa8ff83ad3331be3123e39ce",
"tmp": "^0.2.1"
}
}
21 changes: 15 additions & 6 deletions dist/light/protobuf.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/light/protobuf.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/light/protobuf.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/light/protobuf.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/minimal/protobuf.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/minimal/protobuf.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/minimal/protobuf.min.js.map

Large diffs are not rendered by default.

21 changes: 15 additions & 6 deletions dist/protobuf.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/protobuf.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/protobuf.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/protobuf.min.js.map

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion index.d.ts
Expand Up @@ -602,8 +602,9 @@ export class Method extends ReflectionObject {
* @param [responseStream] Whether the response is streamed
* @param [options] Declared options
* @param [comment] The comment for this method
* @param [parsedOptions] Declared options, properly parsed into an object
*/
constructor(name: string, type: (string|undefined), requestType: string, responseType: string, requestStream?: (boolean|{ [k: string]: any }), responseStream?: (boolean|{ [k: string]: any }), options?: { [k: string]: any }, comment?: string);
constructor(name: string, type: (string|undefined), requestType: string, responseType: string, requestStream?: (boolean|{ [k: string]: any }), responseStream?: (boolean|{ [k: string]: any }), options?: { [k: string]: any }, comment?: string, parsedOptions?: { [k: string]: any });

/** Method type. */
public type: string;
Expand All @@ -629,6 +630,9 @@ export class Method extends ReflectionObject {
/** Comment for this method */
public comment: (string|null);

/** Options properly parsed into an object */
public parsedOptions: any;

/**
* Constructs a method from a method descriptor.
* @param name Method name
Expand Down Expand Up @@ -666,6 +670,12 @@ export interface IMethod {

/** Method options */
options?: { [k: string]: any };

/** Method comments */
comment: string;

/** Method options properly parsed into an object */
parsedOptions?: { [k: string]: any };
}

/** Reflected namespace. */
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -76,7 +76,7 @@
"gulp-sourcemaps": "^3.0.0",
"gulp-uglify": "^3.0.2",
"jaguarjs-jsdoc": "github:dcodeIO/jaguarjs-jsdoc",
"jsdoc": "^3.6.3",
"jsdoc": "git+https://github.com/VitalyName/jsdoc.git#80443ca629052fc7aa8ff83ad3331be3123e39ce",
"minimist": "^1.2.0",
"nyc": "^15.0.0",
"reflect-metadata": "^0.1.13",
Expand Down Expand Up @@ -119,4 +119,4 @@
"google/**",
"src/**"
]
}
}

0 comments on commit 5fe68c4

Please sign in to comment.