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: