nodejs-polars icon indicating copy to clipboard operation
nodejs-polars copied to clipboard

Missing ListNamespace and DatetimeNamespace Interfaces in Documentation

Open fbx31 opened this issue 10 months ago • 0 comments

Hello,

Struct and String namespaces are well described as interfaces with list of functions but List and Datetime are documentated as Type Alias and not Interface so without any functions descriptions.

In string.ts (correct)

/**
 * namespace containing expr string functions
 */
export interface StringNamespace extends StringFunctions<Expr> {
...
export const ExprStringFunctions = (_expr: any): StringNamespace => {

In list.ts (could be improved as wel las for datetime)

/**
 * namespace containing expr list functions
 */
export type ExprList = ListFunctions<Expr>;
export const ExprListFunctions = (_expr: any): ExprList => {

Thanks a lot

fbx31 avatar Feb 24 '25 09:02 fbx31