UNPKG
angular2-data
Version:
latest (0.0.4)
0.0.4
0.0.2
0.0.1
A datastore for angular2
github.com/gaslight/angular2-data
gaslight/angular2-data
angular2-data
/
lib
/
store-config.ts
17 lines
(13 loc)
•
273 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export
class
StoreConfigMetadata
{
constructor
(
config
) {
this
.
config
= config; } }
export
var
StoreConfig
=
function
(
config
) {
return
(
store
) =>
{ store.
config
= config;
console
.
log
(store);
return
store; } }
//makeDecorator(StoreConfigMetadata);