Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/fxp.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
type X2jOptions = {
export type X2jOptions = {
/**
* Preserve the order of tags in resulting JS object
*
Expand Down Expand Up @@ -218,14 +218,14 @@ type X2jOptions = {
captureMetaData?: boolean;
};

type strnumOptions = {
export type strnumOptions = {
hex: boolean;
leadingZeros: boolean,
skipLike?: RegExp,
eNotation?: boolean
}

type validationOptions = {
export type validationOptions = {
/**
* Whether to allow attributes without value
*
Expand All @@ -241,7 +241,7 @@ type validationOptions = {
unpairedTags?: string[];
};

type XmlBuilderOptions = {
export type XmlBuilderOptions = {
/**
* Give a prefix to the attribute name in the resulting JS object
*
Expand Down Expand Up @@ -395,7 +395,7 @@ type XmlBuilderOptions = {

type ESchema = string | object | Array<string|object>;

type ValidationError = {
export type ValidationError = {
err: {
code: string;
msg: string,
Expand Down
Loading