Skip to content

Commit

Permalink
fix: skip private property in dts
Browse files Browse the repository at this point in the history
  • Loading branch information
bingtsingw committed Mar 31, 2024
1 parent 454b933 commit ef2fbd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/exception/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export class BaseException extends Error {
public code: string;
public message: string;

/** @internal */
private _messages: unknown;

public constructor(status: number, messages: unknown, code: string) {
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"isolatedModules": true,
"noUncheckedIndexedAccess": true,
"experimentalDecorators": true,
"strictPropertyInitialization": false
"strictPropertyInitialization": false,
"stripInternal": true
},
"include": ["src"]
}

0 comments on commit ef2fbd7

Please sign in to comment.