locutus
Version:
Locutus other languages' standard libraries to JavaScript for fun and educational purposes
9 lines (8 loc) • 322 B
TypeScript
type IniScalar = string | number | boolean | null;
type IniEntryValue = IniScalar | IniObject | IniEntryValue[];
type IniObject = {
[key: string]: IniEntryValue;
};
export type IniValue = IniEntryValue | undefined;
export declare function ini_set(varname: string, newvalue: IniValue): IniValue | undefined;
export {};