Skip to content

Commit 65470d7

Browse files
committed
removing public from public constructor to fix build errors
1 parent 57e2f8a commit 65470d7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/components/sub-components/mgt-arrow-options/mgt-arrow-options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class MgtArrowOptions extends MgtBaseComponent {
6161

6262
private _clickHandler: (e: MouseEvent) => void | any;
6363

64-
public constructor() {
64+
constructor() {
6565
super();
6666
this._clickHandler = (e: MouseEvent) => (this.open = false);
6767
}

src/components/sub-components/mgt-dot-options/mgt-dot-options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class MgtDotOptions extends MgtBaseComponent {
4242

4343
private _clickHandler: (e: MouseEvent) => void | any = null;
4444

45-
public constructor() {
45+
constructor() {
4646
super();
4747
this._clickHandler = (e: MouseEvent) => (this.open = false);
4848
}

src/utils/BatchRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class BatchRequest {
2525
* @memberof BatchRequest
2626
*/
2727
public method: string;
28-
public constructor(resource: string, method: string) {
28+
constructor(resource: string, method: string) {
2929
if (resource.charAt(0) !== '/') {
3030
resource = '/' + resource;
3131
}

src/utils/CustomHeaderMiddleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class CustomHeaderMiddleware implements Middleware {
2020
private nextMiddleware: Middleware;
2121
private _getCustomHeaders: () => Promise<object>;
2222

23-
public constructor(getCustomHeaders: () => Promise<object>) {
23+
constructor(getCustomHeaders: () => Promise<object>) {
2424
this._getCustomHeaders = getCustomHeaders;
2525
}
2626

0 commit comments

Comments
 (0)