jcal-zmanim 1.0.50 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/LICENSE +674 -674
  2. package/{build → dist}/JCal/Dafyomi.d.ts +4 -3
  3. package/dist/JCal/Dafyomi.d.ts.map +1 -0
  4. package/{build → dist}/JCal/Dafyomi.js +9 -8
  5. package/dist/JCal/Dafyomi.js.map +1 -0
  6. package/{build → dist}/JCal/Location.d.ts +4 -4
  7. package/dist/JCal/Location.d.ts.map +1 -0
  8. package/{build → dist}/JCal/Location.js +10 -12
  9. package/dist/JCal/Location.js.map +1 -0
  10. package/{build → dist}/JCal/Molad.d.ts +1 -2
  11. package/dist/JCal/Molad.d.ts.map +1 -0
  12. package/{build → dist}/JCal/Molad.js +16 -19
  13. package/dist/JCal/Molad.js.map +1 -0
  14. package/{build → dist}/JCal/PirkeiAvos.d.ts +1 -0
  15. package/dist/JCal/PirkeiAvos.d.ts.map +1 -0
  16. package/{build → dist}/JCal/PirkeiAvos.js +4 -3
  17. package/dist/JCal/PirkeiAvos.js.map +1 -0
  18. package/{build → dist}/JCal/Sedra.d.ts +2 -1
  19. package/dist/JCal/Sedra.d.ts.map +1 -0
  20. package/{build → dist}/JCal/Sedra.js +2 -1
  21. package/dist/JCal/Sedra.js.map +1 -0
  22. package/{build → dist}/JCal/Zmanim.d.ts +1 -0
  23. package/dist/JCal/Zmanim.d.ts.map +1 -0
  24. package/{build → dist}/JCal/Zmanim.js +16 -16
  25. package/dist/JCal/Zmanim.js.map +1 -0
  26. package/{build/AppUtils.d.ts → dist/JCal/ZmanimUtils.d.ts} +10 -47
  27. package/dist/JCal/ZmanimUtils.d.ts.map +1 -0
  28. package/{build/AppUtils.js → dist/JCal/ZmanimUtils.js} +56 -122
  29. package/dist/JCal/ZmanimUtils.js.map +1 -0
  30. package/{build → dist}/JCal/jDate.d.ts +4 -3
  31. package/dist/JCal/jDate.d.ts.map +1 -0
  32. package/{build → dist}/JCal/jDate.js +24 -24
  33. package/dist/JCal/jDate.js.map +1 -0
  34. package/dist/Locations.d.ts +31 -0
  35. package/dist/Locations.d.ts.map +1 -0
  36. package/dist/Locations.js +119 -0
  37. package/dist/Locations.js.map +1 -0
  38. package/dist/Notifications.d.ts +18 -0
  39. package/dist/Notifications.d.ts.map +1 -0
  40. package/{build → dist}/Notifications.js +111 -130
  41. package/dist/Notifications.js.map +1 -0
  42. package/dist/README.md +521 -0
  43. package/{build/JCal → dist}/Utils.d.ts +72 -10
  44. package/dist/Utils.d.ts.map +1 -0
  45. package/{build/JCal → dist}/Utils.js +176 -70
  46. package/dist/Utils.js.map +1 -0
  47. package/{build → dist}/ZmanTypes.d.ts +11 -4
  48. package/dist/ZmanTypes.d.ts.map +1 -0
  49. package/{build → dist}/ZmanTypes.js +12 -5
  50. package/dist/ZmanTypes.js.map +1 -0
  51. package/dist/index.d.ts +2 -0
  52. package/dist/index.d.ts.map +1 -0
  53. package/dist/index.js +43 -0
  54. package/dist/index.js.map +1 -0
  55. package/dist/locations.json +1 -0
  56. package/package.json +43 -33
  57. package/README.md +0 -2
  58. package/build/GeneralUtils.d.ts +0 -43
  59. package/build/GeneralUtils.js +0 -93
  60. package/build/Locations.d.ts +0 -7
  61. package/build/Locations.js +0 -1308
  62. package/build/Notifications.d.ts +0 -14
  63. package/build/Settings.d.ts +0 -25
  64. package/build/Settings.js +0 -75
  65. package/build/index.d.ts +0 -1
  66. package/build/index.js +0 -59
  67. package/src/AppUtils.ts +0 -500
  68. package/src/GeneralUtils.ts +0 -84
  69. package/src/JCal/Dafyomi.ts +0 -139
  70. package/src/JCal/Location.ts +0 -100
  71. package/src/JCal/Molad.ts +0 -105
  72. package/src/JCal/PirkeiAvos.ts +0 -180
  73. package/src/JCal/Sedra.ts +0 -215
  74. package/src/JCal/Utils.ts +0 -732
  75. package/src/JCal/Zmanim.ts +0 -270
  76. package/src/JCal/jDate.ts +0 -714
  77. package/src/Locations.ts +0 -1303
  78. package/src/Notifications.ts +0 -1243
  79. package/src/Settings.ts +0 -103
  80. package/src/ZmanTypes.ts +0 -184
  81. package/src/index.ts +0 -31
  82. package/src/jcal-zmanim.d.ts +0 -4
  83. package/tsconfig.json +0 -109
package/src/Settings.ts DELETED
@@ -1,103 +0,0 @@
1
- import Location from './JCal/Location';
2
- import { findLocation } from './Locations';
3
- import { setDefault } from './GeneralUtils';
4
- import { ZmanTypeIds, getZmanType } from './ZmanTypes';
5
- import { ZmanToShow } from './jcal-zmanim';
6
-
7
-
8
-
9
- export default class Settings {
10
- zmanimToShow: ZmanToShow[];
11
- location: Location;
12
- showNotifications: boolean;
13
- numberOfItemsToShow: number;
14
- minToShowPassedZman: number;
15
- showGaonShir: boolean;
16
- showDafYomi: boolean;
17
- english: boolean;
18
- /**
19
- *
20
- * @param {[ZmanToShow]} [zmanimToShow] List of which zmanim to show
21
- * @param {Location} [location]
22
- * @param {boolean} [showNotifications] Show shul notifications?
23
- * @param {number} [numberOfItemsToShow] Number of zmanim to show on the main screen
24
- * @param {number} [minToShowPassedZman] Number of minutes to continue showing zmanim that have passed
25
- * @param {boolean} [showGaonShir] Show the Shir Shel Yom of the Gr"a?
26
- * @param {boolean} [showDafYomi] Show the Daf Yomi?
27
- * @param {boolean} [english] Show in English?
28
- */
29
- constructor(
30
- zmanimToShow?: ZmanToShow[],
31
- location?: Location,
32
- showNotifications?: boolean,
33
- numberOfItemsToShow?: number,
34
- minToShowPassedZman?: number,
35
- showGaonShir?: boolean,
36
- showDafYomi?: boolean,
37
- english?: boolean,
38
- ) {
39
- /**
40
- * @property {[ZmanToShow]} zmanimToShow List of which zmanim to show
41
- */
42
- this.zmanimToShow = (zmanimToShow || [
43
- getZmanType(ZmanTypeIds.ChatzosLayla), //chatzosNight
44
- getZmanType(ZmanTypeIds.Alos72), //alos72
45
- getZmanType(ZmanTypeIds.TalisTefillin), //talisTefillin
46
- getZmanType(ZmanTypeIds.NetzMishor), //netzMishor
47
- getZmanType(ZmanTypeIds.szksMga), //szksMga
48
- getZmanType(ZmanTypeIds.szksGra), //szksGra
49
- getZmanType(ZmanTypeIds.sztMga), //sztMga
50
- getZmanType(ZmanTypeIds.sztGra), //sztGra
51
- getZmanType(ZmanTypeIds.chatzosDay), //chatzosDay
52
- getZmanType(ZmanTypeIds.minGed), //minGed
53
- getZmanType(ZmanTypeIds.minKet), //minKet
54
- getZmanType(ZmanTypeIds.plag), //plag
55
- getZmanType(ZmanTypeIds.shkiaElevation), //shkiaElevation
56
- getZmanType(ZmanTypeIds.tzais50), //tzais50
57
- getZmanType(ZmanTypeIds.tzais72), //tzais72
58
- getZmanType(ZmanTypeIds.candleLighting), //candleLighting
59
- getZmanType(ZmanTypeIds.SofZmanEatingChometz), //Sof Zman eating Chometz
60
- getZmanType(ZmanTypeIds.SofZmanBurnChometz), //Sof Zman burn Chometz
61
- ]) as ZmanToShow[];
62
- /**
63
- * @property {Location} location
64
- */
65
- this.location = (location || findLocation('Lakewood NJ')) as Location;
66
- /**
67
- * @property {boolean} showNotifications Show shul notifications?
68
- */
69
- this.showNotifications = setDefault(showNotifications, true) as boolean;
70
- /**
71
- * @property {number} numberOfItemsToShow Number of zmanim to show on the main screen
72
- */
73
- this.numberOfItemsToShow = setDefault(numberOfItemsToShow, 5) as number;
74
- /**
75
- * @property {number} minToShowPassedZman Number of minutes to continue showing zmanim that have passed
76
- */
77
- this.minToShowPassedZman = setDefault(minToShowPassedZman, 15) as number;
78
- /**
79
- * @property {boolean} [showGaonShir] Show the Shir Shel Yom of the Gr"a?
80
- */
81
- this.showGaonShir = setDefault(showGaonShir, false) as boolean;
82
- /**
83
- * @property {boolean} [showDafYomi] Show Daf Yomi?
84
- */
85
- this.showDafYomi = setDefault(showDafYomi, true) as boolean;
86
- /**
87
- * @property {boolean} [english] Should the language be English?
88
- */
89
- this.english = setDefault(english, true) as boolean;
90
- }
91
- clone() {
92
- return new Settings(
93
- [...this.zmanimToShow],
94
- this.location,
95
- this.showNotifications,
96
- this.numberOfItemsToShow,
97
- this.minToShowPassedZman,
98
- this.showGaonShir,
99
- this.showDafYomi,
100
- this.english,
101
- );
102
- }
103
- }
package/src/ZmanTypes.ts DELETED
@@ -1,184 +0,0 @@
1
- import { ZmanToShow } from './jcal-zmanim';
2
-
3
- export const ZmanTypeIds = Object.freeze({
4
- ChatzosLayla: 0,
5
- Alos90: 1,
6
- Alos72: 2,
7
- TalisTefillin: 3,
8
- NetzAtElevation: 4,
9
- NetzMishor: 5,
10
- szksMga: 6,
11
- szksGra: 7,
12
- sztMga: 8,
13
- sztGra: 9,
14
- chatzosDay: 10,
15
- minGed: 11,
16
- minKet: 12,
17
- plag: 13,
18
- shkiaAtSeaLevel: 14,
19
- shkiaElevation: 15,
20
- tzais45: 16,
21
- tzais50: 17,
22
- tzais72: 18,
23
- rabbeinuTamZmanios: 19,
24
- rabbeinuTamZmaniosMga: 20,
25
- candleLighting: 21,
26
- SofZmanEatingChometz: 22,
27
- SofZmanBurnChometz: 23,
28
- });
29
-
30
- export const ZmanTypes: ZmanToShow[] = [
31
- {
32
- id: ZmanTypeIds.ChatzosLayla,
33
- desc: 'חצות הלילה',
34
- eng: 'Chatzos - Midnight',
35
- heb: 'חצות הלילה',
36
- },
37
- {
38
- id: ZmanTypeIds.Alos90,
39
- desc: 'עלות השחר - 90 דקות',
40
- eng: 'Alos Hashachar - 90',
41
- heb: 'עלות השחר (90)',
42
- },
43
- {
44
- id: ZmanTypeIds.Alos72,
45
- desc: 'עלות השחר - 72 דקות',
46
- eng: 'Alos Hashachar - 72',
47
- heb: 'עלות השחר (72)',
48
- },
49
- {
50
- id: ZmanTypeIds.TalisTefillin,
51
- desc: 'זמן עטיפת טלית ותפילין - 36 דקות',
52
- eng: 'Taliss and Tefillin',
53
- heb: 'טלית ותפילין',
54
- },
55
- {
56
- id: ZmanTypeIds.NetzAtElevation,
57
- desc: 'הנץ החמה בגובה המיקום',
58
- eng: 'Sunrise at current elevation',
59
- heb: 'הנץ החמה - מגובה',
60
- },
61
- {
62
- id: ZmanTypeIds.NetzMishor,
63
- desc: 'הנץ החמה בגובה פני הים',
64
- eng: 'Sunrise',
65
- heb: 'הנץ החמה',
66
- },
67
- {
68
- id: ZmanTypeIds.szksMga,
69
- desc: 'סזק"ש מג"א',
70
- eng: 'Zman Krias Shma - MG"A',
71
- heb: 'סזק"ש מג"א',
72
- },
73
- {
74
- id: ZmanTypeIds.szksGra,
75
- desc: 'סזק"ש הגר"א',
76
- eng: 'Zman Krias Shma - GR"A',
77
- heb: 'סזק"ש הגר"א',
78
- },
79
- {
80
- id: ZmanTypeIds.sztMga,
81
- desc: 'סז"ת מג"א',
82
- eng: 'Zman Tefilla - MG"A',
83
- heb: 'סז"ת מג"א',
84
- },
85
- {
86
- id: ZmanTypeIds.sztGra,
87
- desc: 'סז"ת הגר"א',
88
- eng: 'Zman Tefilla - GR"A',
89
- heb: 'סז"ת הגר"א',
90
- },
91
- {
92
- id: ZmanTypeIds.chatzosDay,
93
- desc: 'חצות היום',
94
- eng: 'Chatzos - Midday',
95
- heb: 'חצות היום',
96
- },
97
- {
98
- id: ZmanTypeIds.minGed,
99
- desc: 'מנחה גדולה',
100
- eng: 'Mincha Gedola',
101
- heb: 'מנחה גדולה',
102
- },
103
- {
104
- id: ZmanTypeIds.minKet,
105
- desc: 'מנחה קטנה',
106
- eng: 'Mincha Ketana',
107
- heb: 'מנחה קטנה',
108
- },
109
- {
110
- id: ZmanTypeIds.plag,
111
- desc: 'פלג המנחה',
112
- eng: 'Plag HaMincha',
113
- heb: 'פלג המנחה',
114
- },
115
- {
116
- id: ZmanTypeIds.shkiaAtSeaLevel,
117
- desc: 'שקיעת החמה מגובה פני הים',
118
- eng: 'Sunset at sea level',
119
- heb: 'שקיעת החמה - ממישור',
120
- },
121
- {
122
- id: ZmanTypeIds.shkiaElevation,
123
- desc: 'שקיעת החמה מגובה המיקום',
124
- eng: 'Sunset',
125
- heb: 'שקיעת החמה',
126
- },
127
- {
128
- id: ZmanTypeIds.tzais45,
129
- desc: '45 דקות אחרי שקיעה',
130
- eng: 'Nightfall - 45',
131
- heb: 'צאת הכוכבים (45)',
132
- },
133
- {
134
- id: ZmanTypeIds.tzais50,
135
- desc: '50 דקות אחרי שקיעה',
136
- eng: 'Nightfall - 50',
137
- heb: 'צאת הכוכבים (50)',
138
- },
139
- {
140
- id: ZmanTypeIds.tzais72,
141
- desc: '72 דקות אחרי שקיעה',
142
- eng: 'Rabbeinu Tam',
143
- heb: 'צה"כ ר"ת - 72 דקות',
144
- },
145
- {
146
- id: ZmanTypeIds.rabbeinuTamZmanios,
147
- desc: '72 דקות זמניות אחרי שקיעה',
148
- eng: 'Rabbeinu Tam - Zmanios',
149
- heb: 'צה"כ ר"ת - זמניות',
150
- },
151
- {
152
- id: ZmanTypeIds.rabbeinuTamZmaniosMga,
153
- desc: '72 דקות זמניות אחרי שקיעה - מג"א',
154
- eng: 'Rabbeinu Tam - Zmanios MG"A',
155
- heb: 'צה"כ ר"ת - זמניות מג"א',
156
- },
157
- {
158
- id: ZmanTypeIds.candleLighting,
159
- desc: 'זמן הדלקת נרות',
160
- eng: 'Candle lighting time',
161
- heb: 'זמן הדלקת נרות',
162
- },
163
- {
164
- id: ZmanTypeIds.SofZmanEatingChometz,
165
- desc: 'סוף זמן אכילת חמץ',
166
- eng: 'Stop eating Chometz',
167
- heb: 'סוף זמן אכילת חמץ',
168
- },
169
- {
170
- id: ZmanTypeIds.SofZmanBurnChometz,
171
- desc: 'סוף זמן ביעור חמץ',
172
- eng: 'Destroy Chometz',
173
- heb: 'סוף זמן ביעור חמץ',
174
- },
175
- ];
176
-
177
- /**
178
- * Get the ZmanType with the given id or name.
179
- * @param {Number} id
180
- * @returns {{id:number, desc: String, eng: String, heb: String }}
181
- */
182
- export function getZmanType(id:number):ZmanToShow|undefined {
183
- return ZmanTypes.find(zt => zt.id === id);
184
- }
package/src/index.ts DELETED
@@ -1,31 +0,0 @@
1
- import Utils from './JCal/Utils.js';
2
- import Zmanim from './JCal/Zmanim.js';
3
- import Settings from './Settings.js';
4
- import jDate from './JCal/jDate.js';
5
- import Location from './JCal/Location.js';
6
- import {Locations, findLocation} from './Locations.js';
7
- import {ZmanTypes, ZmanTypeIds} from './ZmanTypes.js';
8
- import Molad from './JCal/Molad.js';
9
- import PirkeiAvos from './JCal/PirkeiAvos.js';
10
- import Dafyomi from './JCal/Dafyomi.js';
11
- import Sedra from './JCal/Sedra.js';
12
- import AppUtils, {DaysOfWeek} from './AppUtils.js';
13
- import getNotifications from './Notifications.js';
14
-
15
- module.exports={
16
- Utils,
17
- AppUtils,
18
- DaysOfWeek,
19
- getNotifications,
20
- Locations,
21
- findLocation,
22
- ZmanTypes,
23
- ZmanTypeIds,
24
- Zmanim,
25
- Location,
26
- Settings,
27
- jDate,
28
- Molad,
29
- PirkeiAvos,
30
- Dafyomi,
31
- Sedra };
@@ -1,4 +0,0 @@
1
- import Location from "./JCal/Location";
2
- export type Time = { hour: number, minute: number, second?: number };
3
- export type SunTimes = { sunrise?: Time, sunset?: Time };
4
- export type ZmanToShow = { id: number, desc: string, eng: string, heb: string, offset?: number, whichDaysFlags?: number };
package/tsconfig.json DELETED
@@ -1,109 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- /* Visit https://aka.ms/tsconfig to read more about this file */
4
-
5
- /* Projects */
6
- // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
7
- // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
8
- // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
9
- // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
10
- // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
11
- // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
12
-
13
- /* Language and Environment */
14
- "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
15
- "lib": ["es6"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
16
- // "jsx": "preserve", /* Specify what JSX code is generated. */
17
- // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
18
- // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
19
- // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */
20
- // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
21
- // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */
22
- // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
23
- // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
24
- // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
25
- // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
26
-
27
- /* Modules */
28
- "module": "commonjs", /* Specify what module code is generated. */
29
- "rootDir": "src", /* Specify the root folder within your source files. */
30
- // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
31
- // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
32
- // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
33
- // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
34
- // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
35
- // "types": [], /* Specify type package names to be included without being referenced in a source file. */
36
- // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
37
- // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
38
- // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
39
- // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */
40
- // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */
41
- // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
42
- "resolveJsonModule": true, /* Enable importing .json files. */
43
- // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
44
- // "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
45
-
46
- /* JavaScript Support */
47
- "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
48
- // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
49
- // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
50
-
51
- /* Emit */
52
- "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
53
- //"declarationMap": true, /* Create sourcemaps for d.ts files. */
54
- // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
55
- // "sourceMap": true, /* Create source map files for emitted JavaScript files. */
56
- // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
57
- // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
58
- "outDir": "build", /* Specify an output folder for all emitted files. */
59
- // "removeComments": true, /* Disable emitting comments. */
60
- // "noEmit": true, /* Disable emitting files from a compilation. */
61
- // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
62
- // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
63
- // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
64
- // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
65
- // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
66
- // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
67
- // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
68
- // "newLine": "crlf", /* Set the newline character for emitting files. */
69
- // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
70
- // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
71
- // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
72
- // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
73
- // "declarationDir": "./", /* Specify the output directory for generated declaration files. */
74
- // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
75
-
76
- /* Interop Constraints */
77
- // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
78
- // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
79
- // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
80
- "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
81
- // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
82
- "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
83
-
84
- /* Type Checking */
85
- "strict": true, /* Enable all strict type-checking options. */
86
- "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
87
- // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
88
- // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
89
- // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
90
- // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
91
- // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
92
- // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
93
- // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
94
- // "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
95
- // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
96
- // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
97
- // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
98
- // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
99
- // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
100
- // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
101
- // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
102
- // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
103
- // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
104
-
105
- /* Completeness */
106
- // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
107
- "skipLibCheck": true /* Skip type checking all .d.ts files. */
108
- }
109
- }