From 1de1af1fdb2bdfe6d790ee69fcfb089c707d439e Mon Sep 17 00:00:00 2001 From: crusader Date: Mon, 4 Jun 2018 18:41:23 +0900 Subject: [PATCH] ing --- projects/loafer/ng-rpc/package.json | 2 +- projects/loafer/ng-rpc/src/lib/subscribe/subscribe.service.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/loafer/ng-rpc/package.json b/projects/loafer/ng-rpc/package.json index fca5b53..2d92df8 100644 --- a/projects/loafer/ng-rpc/package.json +++ b/projects/loafer/ng-rpc/package.json @@ -1,6 +1,6 @@ { "name": "@loafer/ng-rpc", - "version": "0.0.2", + "version": "0.0.3", "repository": { "type": "git", "url": "https://git.loafle.net/loafer/ng.git" diff --git a/projects/loafer/ng-rpc/src/lib/subscribe/subscribe.service.ts b/projects/loafer/ng-rpc/src/lib/subscribe/subscribe.service.ts index c8d4db9..e87fa68 100644 --- a/projects/loafer/ng-rpc/src/lib/subscribe/subscribe.service.ts +++ b/projects/loafer/ng-rpc/src/lib/subscribe/subscribe.service.ts @@ -151,6 +151,9 @@ export class RPCSubscribeService { case 'Boolean': results.push(Boolean(param)); break; + case 'Date': + results.push(new Date(param)); + break; case 'Function': throw new SubscriberParameterError(`Function type [${indexI}] is not allowed`); default: