ing
This commit is contained in:
parent
afa758addd
commit
1de1af1fdb
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@loafer/ng-rpc",
|
"name": "@loafer/ng-rpc",
|
||||||
"version": "0.0.2",
|
"version": "0.0.3",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.loafle.net/loafer/ng.git"
|
"url": "https://git.loafle.net/loafer/ng.git"
|
||||||
|
|
|
@ -151,6 +151,9 @@ export class RPCSubscribeService {
|
||||||
case 'Boolean':
|
case 'Boolean':
|
||||||
results.push(Boolean(param));
|
results.push(Boolean(param));
|
||||||
break;
|
break;
|
||||||
|
case 'Date':
|
||||||
|
results.push(new Date(param));
|
||||||
|
break;
|
||||||
case 'Function':
|
case 'Function':
|
||||||
throw new SubscriberParameterError(`Function type [${indexI}] is not allowed`);
|
throw new SubscriberParameterError(`Function type [${indexI}] is not allowed`);
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user