diff --git a/node-form/node-form.d.ts b/node-form/index.d.ts similarity index 99% rename from node-form/node-form.d.ts rename to node-form/index.d.ts index 1e42547b36..92b6b0c73c 100644 --- a/node-form/node-form.d.ts +++ b/node-form/index.d.ts @@ -5,7 +5,11 @@ /// /// -/// + +export as namespace Validation; + +export = Validation; + declare namespace Validation { /** * Custom message functions. @@ -704,7 +708,3 @@ declare namespace Validation { public TranslateArgs : IErrorTranslateArgs[]; } } - -declare module "node-form"{ - export = Validation; -} diff --git a/node-form/node-form-tests.ts b/node-form/node-form-tests.ts index 776014b681..db0820189b 100644 --- a/node-form/node-form-tests.ts +++ b/node-form/node-form-tests.ts @@ -1,8 +1,6 @@ -/// +/// /// /// -/// - export interface IPerson{ Checked:boolean;