Skip to content

Commit b7ee983

Browse files
committed
Make constituents available for reference
1 parent 5fddaea commit b7ee983

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import harmonics from './harmonics/index.js'
2+
import { default as constituents } from './constituents/index.js'
23
import type { HarmonicConstituent } from './harmonics/index.js'
34
import type { TimelinePoint, Extreme } from './harmonics/prediction.js'
45

@@ -80,5 +81,8 @@ const tidePredictionFactory = (
8081
return tidePrediction
8182
}
8283

84+
// Make constituents available on factory for reference
85+
tidePredictionFactory.constituents = constituents
86+
8387
export default tidePredictionFactory
8488
export type { HarmonicConstituent, TimelinePoint, Extreme }

0 commit comments

Comments
 (0)