Skip to content

Commit

Permalink
Allow empty Event array for eventsToIcalendar.
Browse files Browse the repository at this point in the history
Port from JS to TS.
  • Loading branch information
mjradwin committed Jun 26, 2024
1 parent ab4617f commit 0c9e9ad
Show file tree
Hide file tree
Showing 12 changed files with 8,731 additions and 2,641 deletions.
13 changes: 13 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],
"@babel/preset-typescript"
]
}
36 changes: 0 additions & 36 deletions icalendar.d.ts

This file was deleted.

5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
export default {
verbose: true,
testEnvironment: 'node',
};
Loading

0 comments on commit 0c9e9ad

Please sign in to comment.