switch to typedObject decorator, which no longer needs explict type param

This commit is contained in:
Art Lowel
2020-02-17 10:30:16 +01:00
parent 10bb457897
commit 7f76769bff
38 changed files with 79 additions and 90 deletions

View File

@@ -1,5 +1,5 @@
import { autoserialize, autoserializeAs, deserialize } from 'cerialize';
import { resourceType } from '../cache/builders/build-decorators';
import { typedObject } from '../cache/builders/build-decorators';
import { TypedObject } from '../cache/object-cache.reducer';
import { excludeFromEquals } from '../utilities/equals.decorators';
import { BROWSE_DEFINITION } from './browse-definition.resource-type';
@@ -7,7 +7,7 @@ import { HALLink } from './hal-link.model';
import { ResourceType } from './resource-type';
import { SortOption } from './sort-option.model';
@resourceType(BrowseDefinition.type)
@typedObject
export class BrowseDefinition implements TypedObject {
static type = BROWSE_DEFINITION;