From bf1270ea556c495aba0f0b21b0e5014ae7131dad Mon Sep 17 00:00:00 2001 From: Ryan Cavanaugh Date: Wed, 27 Apr 2016 10:28:00 -0700 Subject: [PATCH] Update 'node-form' --- node-form/{node-form.d.ts => index.d.ts} | 10 +++++----- node-form/node-form-tests.ts | 4 +--- 2 files changed, 6 insertions(+), 8 deletions(-) rename node-form/{node-form.d.ts => index.d.ts} (99%) 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;