Skip to content

Commit

Permalink
minor type fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
timotejroiko committed Nov 19, 2022
1 parent bda5afe commit 5c85127
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
* ## Sweph
* Definitive Swiss Ephemeris bindings for Node.js
*
* [Official programmers documentation for the Swiss Ephemeris](https://www.astro.com/swisseph/swephprg.htm)
* [Official programmer's documentation for the Swiss Ephemeris](https://www.astro.com/swisseph/swephprg.htm)
* [Official guide for the Swiss Ephemeris](https://www.astro.com/ftp/swisseph/doc/swisseph.htm)
* [Sweph on Github](https://github.com/timotejroiko/sweph)
* [Sweph on GitHub](https://github.com/timotejroiko/sweph)
* [Sweph on NPM](http://npmjs.com/package/sweph)
*
* ### Usage
Expand Down Expand Up @@ -2092,7 +2092,7 @@ declare module "sweph" {
* ```
* • csec: number // Centiseconds value
* • sep: string // Separator character
* • supzero: boolean // Omit seconds if they are zero
* • suppresszero: boolean // Omit seconds if they are zero
* ```
* ### Returns
* ```
Expand All @@ -2104,7 +2104,7 @@ declare module "sweph" {
* ```
*  
*/
export function cs2timestr(csec: number, sep: string, supzero: boolean): string;
export function cs2timestr(csec: number, sep: string, suppresszero: boolean): string;

/**
* ### Description
Expand Down Expand Up @@ -2189,7 +2189,7 @@ declare module "sweph" {
* ```
*  
*/
export function date_conversion(year: number, month: number, day: number, hour: number, calendar: string): DateConversion;
export function date_conversion(year: number, month: number, day: number, hour: number, calendar: "g" | "j" | (string & {})): DateConversion;

/**
* ### Description
Expand Down Expand Up @@ -2600,7 +2600,7 @@ declare module "sweph" {
* ```
*  
*/
export function gauquelin_sector(tjd_ut: number, ipl: number, starname: string | null, iflag: number, imeth: number, geopos: [number,number,number], atpress: number, attemp: number): GauquelinSector;
export function gauquelin_sector(tjd_ut: number, ipl: number, starname: string | null, iflag: number, imeth: number, geopos: [longitude: number, latitude: number, elevation: number], atpress: number, attemp: number): GauquelinSector;

/**
* ### Description
Expand Down Expand Up @@ -4114,7 +4114,7 @@ declare module "sweph" {
* ### Params
* ```
* • tjd: number // Julian day in universal time
* • gregflag: number // Calendar type (SE_JUL_CAL or SE_GREG_CAL)
* • gregflag: number // Calendar system, SE_GREG_CAL for gregorian calendar, SE_JUL_CAL for julian calendar
* ```
* ### Returns
* ```
Expand Down

0 comments on commit 5c85127

Please sign in to comment.