Skip to content

Commit

Permalink
Added readonly is*** fields in TS declaration files
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasHasle committed Jan 3, 2020
1 parent 7df020f commit 2a938de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/scenes/DensityFog.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export class DensityFog implements IFog {
*/
squared: boolean;

readonly isDensityFog: true;

clone(): this;
toJSON(): any;

Expand Down
2 changes: 1 addition & 1 deletion src/scenes/RangeFog.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class RangeFog implements IFog {
*/
far: number;

readonly isFog: true;
readonly isRangeFog: true;

clone(): this;
toJSON(): any;
Expand Down

0 comments on commit 2a938de

Please sign in to comment.