refactor: update openstapps packages

This commit is contained in:
Jovan Krunić
2021-08-18 10:29:18 +00:00
parent 09aa7bb5c5
commit b56a428c92
16 changed files with 328 additions and 427 deletions

View File

@@ -50,9 +50,9 @@ export class DataDetailComponent implements OnInit {
* Type guard for SCSavableThing
*/
static isSCSavableThing(
thing: SCThings | SCSaveableThing<SCThings>,
): thing is SCSaveableThing<SCThings> {
return typeof (thing as SCSaveableThing<SCThings>).data !== 'undefined';
thing: SCThings | SCSaveableThing,
): thing is SCSaveableThing {
return typeof (thing as SCSaveableThing).data !== 'undefined';
}
/**