Skip to content

Export types in fxp.d.ts #744

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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