Skip to content

Commit

Permalink
Add missing exports needed to port @hebcal/leyning to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Jun 27, 2024
1 parent e63eb33 commit bbc14c1
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 41 deletions.
87 changes: 51 additions & 36 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hebcal/core",
"version": "5.4.5",
"version": "5.4.6",
"author": "Michael J. Radwin (https://github.com/mjradwin)",
"contributors": [
"Eyal Schachter (https://github.com/Scimonster)",
Expand Down
6 changes: 3 additions & 3 deletions src/ParshaEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import './locale'; // Adds Hebrew and Ashkenazic translations
* Represents one of 54 weekly Torah portions, always on a Saturday
*/
export class ParshaEvent extends Event {
private readonly parsha: string[];
private readonly il: boolean;
private readonly num: number | number[];
readonly parsha: string[];
readonly il: boolean;
readonly num: number | number[];
/**
* @param {HDate} date
* @param {string[]} parsha - untranslated name of single or double parsha,
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export {TimedEvent, CandleLightingEvent, HavdalahEvent} from './TimedEvent';
export {Molad, MoladEvent} from './molad';
export {OmerEvent} from './omer';
export {TachanunResult} from './tachanun';
export {Sedra, parshiot} from './sedra';
export {Sedra, SedraResult, parshiot} from './sedra';
export {ParshaEvent} from './ParshaEvent';
export {HolidayEvent, AsaraBTevetEvent,
RoshChodeshEvent, RoshHashanaEvent} from './HolidayEvent';
Expand Down

0 comments on commit bbc14c1

Please sign in to comment.