Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Publish v0.3.0-alpha.6
Browse files Browse the repository at this point in the history
- expose some internals in DateTimeRange and DateTime
  • Loading branch information
soerenmeier committed Feb 28, 2024
1 parent 618860c commit be7ae74
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fire-lib-js",
"version": "0.3.0-alpha.5",
"version": "0.3.0-alpha.6",
"author": "Sören Meier <[email protected]>",
"type": "module",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions src/time/DateTime.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export default class DateTime {
raw: Date;

/**
* Tries to creates a new DateTime instance
*/
Expand Down
9 changes: 6 additions & 3 deletions src/time/DateTimeRange.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
import DateTime from './DateTime';

export default class DateTimeRange {
from: DateTime;
to: DateTime;

/**
* Create a new DateTimeRange instance
* @constructor
* @param {DateTime} start - The start date value
* @param {DateTime} end - The end date value
* @param {DateTime} from - The start date value
* @param {DateTime} to - The end date value
*/
constructor(start: DateTime, end: DateTime);
constructor(from: DateTime, to: DateTime);

/**
* returns
Expand Down

0 comments on commit be7ae74

Please sign in to comment.