fix(typescript): Fix template literal in JSDoc causing parse error
Changed template literal in getSchedulesWithStatus JSDoc example from template literal syntax to string concatenation to avoid TypeScript parser confusion. The template literal inside JSDoc code block was being parsed as actual code, causing 'Unterminated template literal' error. Verification: - TypeScript compiles ✅ - Build passes ✅
This commit is contained in:
@@ -592,7 +592,7 @@ export interface DailyNotificationPlugin {
|
||||
* enabled: true
|
||||
* });
|
||||
* result.schedules.forEach(schedule => {
|
||||
* console.log(`${schedule.id}: ${schedule.isActuallyScheduled ? 'Scheduled' : 'Not scheduled'}`);
|
||||
* console.log(schedule.id + ': ' + (schedule.isActuallyScheduled ? 'Scheduled' : 'Not scheduled'));
|
||||
* });
|
||||
* ```
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user